cargo xtask test runs every test binary at once (cargo test runs them one after another): 323 s to 75 s on 12 cores. cargo xtask ci runs the quick gates (fmt, assets, licences, layers) first, then clippy, then the tests with the wasm check and doc tests alongside; the wasm check uses the ci profile to reuse clippy's host build scripts and proc macros. GitHub CI runs its tests through cargo xtask test

This commit is contained in:
CypherNaugh_0x authored and bherbruck committed 2026-10-10 13:24:08 -04:00
1 parent aa268f0f0e
commit 29796762de
4 files changed
+143 -18

No files matched your search

+2 -1
View File
@@ -107,7 +107,8 @@ jobs:
- name: Compile tests
run: cargo test --workspace --profile ci --locked --no-run
- name: Run tests
run: cargo test --workspace --profile ci --locked
# Every test binary at once (cargo test runs them one after another).
run: cargo xtask test --locked
# Preserve the existing check name for branch protection, including docs-only PRs.
ci: