]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13][3.14] GHA: Display output when a sanitizer test fails (#151268) (#151273)...
authorVictor Stinner <vstinner@python.org>
Wed, 10 Jun 2026 19:25:15 +0000 (21:25 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2026 19:25:15 +0000 (21:25 +0200)
[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

index 42ecaa51118c8a390af3b853cb4736656f2cb7f6..da2de23e4d3ec18bda6731910d8bae668f28ea7e 100644 (file)
@@ -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