Skip to content
This repository was archived by the owner on Aug 27, 2026. It is now read-only.

Commit 8b05409

Browse files
committed
test(core): cfg Windows rerun suppression; ci: --no-fail-fast tests
shell_semantics asserted pipeline_rerun_command is Some, but the bash pipefail suggestion is intentionally suppressed on Windows. Run CI tests with --no-fail-fast so one failing target no longer hides the rest of the platform's failures behind a fresh run.
1 parent 78037ad commit 8b05409

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Rust format
2020
run: cargo fmt --all -- --check
2121
- name: Rust tests
22-
run: cargo test --workspace --locked
22+
run: cargo test --workspace --locked --no-fail-fast
2323
- name: Rust clippy
2424
run: cargo clippy --workspace --all-targets --locked -- -D warnings
2525
- name: Rust shell matrix

crates/tokenzero-core/tests/shell_semantics.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,10 @@ fn expected_false_pipeline_segments_do_not_trigger_masking_warnings() {
408408
.is_some_and(|warning| warning.contains("mask")),
409409
"{command}: {rendered:?}"
410410
);
411-
assert!(
411+
// The bash pipefail rerun suggestion is suppressed on Windows.
412+
assert_eq!(
412413
rendered.command_status.pipeline_rerun_command.is_some(),
414+
!cfg!(windows),
413415
"{command}: {rendered:?}"
414416
);
415417
}

0 commit comments

Comments
 (0)