From ec8bdcd16cf61fc246e7d526723af2363f317c84 Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Sat, 22 Feb 2025 21:16:51 +1100 Subject: [PATCH] Fix unit-tests when no test is run Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index 291ad42a..ca2122d2 100644 --- a/justfile +++ b/justfile @@ -257,7 +257,7 @@ e2e-tests: e2e-test-live e2e-test-manifest-path e2e-test-git e2e-test-other-repo unit-tests: print-env cargo test --no-run --target {{target}} - cargo nextest run --target {{target}} {{cargo-nextest-additional-args}} + cargo nextest run --target {{target}} --no-tests=pass {{cargo-nextest-additional-args}} cargo test --doc --target {{target}} test: unit-tests build e2e-tests