From e334e3153ae8a180737dfdf33da5ad15c32b0976 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Thu, 13 Jun 2024 00:37:19 +1000 Subject: [PATCH] Compile all tests in justfile target unit-tests To make sure all code is valid. And to improve caching of CI job unit-tests. --- justfile | 1 + 1 file changed, 1 insertion(+) diff --git a/justfile b/justfile index 01270a4f5..97e0201e6 100644 --- a/justfile +++ b/justfile @@ -261,6 +261,7 @@ e2e-test-tls: (e2e-test "tls" "1.2") (e2e-test "tls" "1.3") e2e-tests: e2e-test-live e2e-test-manifest-path e2e-test-git e2e-test-other-repos e2e-test-strategies e2e-test-version-syntax e2e-test-upgrade e2e-test-tls e2e-test-self-upgrade-no-symlink e2e-test-uninstall e2e-test-subcrate e2e-test-no-track e2e-test-registries e2e-test-signing e2e-test-continue-on-failure e2e-test-private-github-repo unit-tests: print-env + cargo test --no-run --target {{target}} cargo nextest run --target {{target}} {{cargo-nextest-additional-args}} cargo test --doc --target {{target}}