Skip to content

Commit

Permalink
feat(zk_toolbox): Add zk toolbox unit tests to zks test (matter-labs#…
Browse files Browse the repository at this point in the history
…2935)

## What ❔

Add zk toolbox unit tests to zks test
  • Loading branch information
matias-gonz authored Sep 24, 2024
1 parent 9b63817 commit 7026637
Showing 1 changed file with 6 additions and 0 deletions.
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(())
}

0 comments on commit 7026637

Please sign in to comment.