Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix failure from cargo not propagating because of pipe #1432

Merged
merged 1 commit into from
Mar 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/test-rustc-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
- name: Test with `RUSTFLAGS=--cfg=rustc_target_test cargo test --lib`
id: test
continue-on-error: true # We want to open an issue if it fails
run: cargo test --lib 2>&1 | tee test_output.txt
run: |
set -o pipefail
cargo test --lib 2>&1 | tee test_output.txt
env:
RUSTFLAGS: --cfg=rustc_target_test

Expand Down