Skip to content

Commit 3d08751

Browse files
committed
fix(ci): run every Rust test crate when one fails
Cargo stops at the first crate whose tests fail, so each run on GitHub showed one failure and hid the rest. With --no-fail-fast one run shows them all. Also drops the comment that said check:drift fails until an old port PR lands; it passes on dev now.
1 parent 1a1782d commit 3d08751

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/check-cli-rs.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ jobs:
4646
- run: rustup toolchain install
4747
- run: bun run cargo fmt --check
4848
- run: bun run cargo clippy --locked --workspace --all-targets -- -D warnings
49-
- run: bun run cargo test --locked --workspace
50-
# Fails until the cli-rs port PR (native-next-12) lands: dev lacks the files it regenerates.
49+
# Every crate's tests, even after one fails, so one run shows every failure.
50+
- run: bun run cargo test --locked --workspace --no-fail-fast
5151
- run: bun run check:drift

‎packages/cli-rs/AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CI (`.github/workflows/check-cli-rs.yml`) runs:
1818

1919
- `bun run cargo fmt --check`
2020
- `bun run cargo clippy --locked --workspace --all-targets -- -D warnings`
21-
- `bun run cargo test --locked --workspace`
21+
- `bun run cargo test --locked --workspace --no-fail-fast`
2222
- `bun run check:drift`
2323

2424
CI has no `opencode` binary, so a few tests that need one skip. Before merging, also run these locally:

0 commit comments

Comments
 (0)