Skip to content

Commit

Permalink
Fix test only
Browse files Browse the repository at this point in the history
  • Loading branch information
sergerad committed Dec 1, 2024
1 parent 4dd0340 commit 164a9bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,4 @@ jobs:
uses: actions/checkout@v4

- name: Run the script
run: cargo xtask prove-stdio test artifacts/witness_b3_b6.json --use-test-config
run: cargo xtask prove-stdio verify artifacts/witness_b3_b6.json --use-test-config
3 changes: 3 additions & 0 deletions scripts/prove_stdio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ fn prove_command(args: ProveStdioArgs, envs: Vec<(&str, &str)>) -> anyhow::Resul
.to_str()
.ok_or(anyhow::anyhow!("Invalid output dir path"))?,
]);
if let RunMode::Test = args.mode {
cmd.arg("--test-only");
}
if args.use_test_config {
cmd.arg("--use-test-config");
}
Expand Down

0 comments on commit 164a9bf

Please sign in to comment.