From 4b2e4eb0aefb352e07f97830d5167677b5f9ef9c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 10 Jun 2026 20:45:59 +0200 Subject: [PATCH] [3.14] GHA: Display output when a sanitizer test fails (#151268) (#151273) GHA: Display output when a sanitizer test fails (#151268) Modify GitHub Action "Reusable Sanitizer" to display output when a test fails: pass -W option. (cherry picked from commit 3a8bebd86f36be05442fa2f3adcc83c2a4b00ef2) (cherry picked from commit bc75e47ffaffbfd33bb2a57c98e25055a1337308) --- .github/workflows/reusable-san.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-san.yml b/.github/workflows/reusable-san.yml index 42ecaa51118c8a3..da2de23e4d3ec18 100644 --- a/.github/workflows/reusable-san.yml +++ b/.github/workflows/reusable-san.yml @@ -86,7 +86,7 @@ jobs: run: >- ./python -m test ${{ inputs.sanitizer == 'TSan' && '--tsan' || '' }} - -j4 + -j4 -W - name: Display logs if: always() run: find "${GITHUB_WORKSPACE}" -name 'san_log.*' | xargs head -n 1000