From 139b033a8a80c5df669bb60a741ac7e31db3bd24 Mon Sep 17 00:00:00 2001 From: Cal Nightingale Date: Thu, 19 Feb 2026 09:51:10 -0500 Subject: [PATCH] Fix CI passing despite test failures Without `set -o pipefail`, the pipeline `python ... | tee test_output.txt` returns tee's exit code (always 0), masking unittest failures. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 059831e..1c49f9c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,6 +38,7 @@ jobs: env: SISKIN_ENV_ENABLED: 1 run: | + set -o pipefail for attempt in 1 2 3; do python -m unittest discover -v cloud_optimized_dicom.tests 2>&1 | tee test_output.txt && exit 0 if grep -q "429" test_output.txt; then