Skip to content

Commit

Permalink
Compile all tests in justfile target unit-tests
Browse files Browse the repository at this point in the history
To make sure all code is valid.

And to improve caching of CI job unit-tests.
  • Loading branch information
NobodyXu authored Jun 12, 2024
1 parent 4687726 commit e334e31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

Expand Down

0 comments on commit e334e31

Please sign in to comment.