Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(zk_toolbox): Add zk toolbox unit tests to zks test #2935

Merged
merged 4 commits into from
Sep 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions zk_toolbox/crates/zk_supervisor/src/commands/test/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ pub async fn run(shell: &Shell, args: RustArgs) -> anyhow::Result<()> {
.env("TEST_PROVER_DATABASE_URL", test_prover_url);
cmd.run()?;

// Run unit tests for zk_toolbox
let _dir_guard = shell.push_dir(link_to_code.join("zk_toolbox"));
Cmd::new(cmd!(shell, "cargo nextest run --release"))
.with_force_run()
.run()?;

logger::outro(MSG_UNIT_TESTS_RUN_SUCCESS);
Ok(())
}
Loading