From 70266373f67986406e23f0015469e7a85697a900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Ignacio=20Gonz=C3=A1lez?= Date: Tue, 24 Sep 2024 06:17:54 -0300 Subject: [PATCH] feat(zk_toolbox): Add zk toolbox unit tests to zks test (#2935) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What ❔ Add zk toolbox unit tests to zks test --- zk_toolbox/crates/zk_supervisor/src/commands/test/rust.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zk_toolbox/crates/zk_supervisor/src/commands/test/rust.rs b/zk_toolbox/crates/zk_supervisor/src/commands/test/rust.rs index fdee03fe63ea..7011e0f0f874 100644 --- a/zk_toolbox/crates/zk_supervisor/src/commands/test/rust.rs +++ b/zk_toolbox/crates/zk_supervisor/src/commands/test/rust.rs @@ -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(()) }