Only run unit tests for crates that are changed

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-06-12 00:29:02 +10:00
parent 0f7928f65f
commit 7f1994e205
No known key found for this signature in database
GPG key ID: 76D1E687CA3C4928
2 changed files with 12 additions and 1 deletions

View file

@ -260,7 +260,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 nextest run {{cargo-build-args}}
cargo nextest run {{cargo-build-args}} "$CARGO_NEXTEST_ADDITIONAL_ARGS"
cargo test --doc {{cargo-build-args}}
test: unit-tests build e2e-tests