From: Victor Stinner Date: Wed, 10 Jun 2026 17:07:51 +0000 (+0200) Subject: GHA: Display output when a sanitizer test fails (#151268) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3a8bebd86f36be05442fa2f3adcc83c2a4b00ef2;p=thirdparty%2FPython%2Fcpython.git GHA: Display output when a sanitizer test fails (#151268) Modify GitHub Action "Reusable Sanitizer" to display output when a test fails: pass -W option. --- diff --git a/.github/workflows/reusable-san.yml b/.github/workflows/reusable-san.yml index 33f6f0ef455f..d1e9cb963669 100644 --- a/.github/workflows/reusable-san.yml +++ b/.github/workflows/reusable-san.yml @@ -89,12 +89,12 @@ jobs: ./python -m test ${{ inputs.sanitizer == 'TSan' && '--tsan' || '' }} ${{ inputs.sanitizer == 'UBSan' && '-x test_capi -x test_faulthandler' || '' }} - -j4 + -j4 -W - name: Parallel tests if: >- inputs.sanitizer == 'TSan' && fromJSON(inputs.free-threading) - run: ./python -m test --tsan-parallel --parallel-threads=4 -j4 + run: ./python -m test --tsan-parallel --parallel-threads=4 -j4 -W - name: Display logs if: always() run: find "${GITHUB_WORKSPACE}" -name 'san_log.*' | xargs head -n 1000