Skip to content

Commit bc75e47

Browse files
authored
[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 3a8bebd)
1 parent b0a90a9 commit bc75e47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/reusable-san.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ jobs:
8686
run: >-
8787
./python -m test
8888
${{ inputs.sanitizer == 'TSan' && '--tsan' || '' }}
89-
-j4
89+
-j4 -W
9090
- name: Parallel tests
9191
if: >-
9292
inputs.sanitizer == 'TSan'
9393
&& fromJSON(inputs.free-threading)
94-
run: ./python -m test --tsan-parallel --parallel-threads=4 -j4
94+
run: ./python -m test --tsan-parallel --parallel-threads=4 -j4 -W
9595
- name: Display logs
9696
if: always()
9797
run: find "${GITHUB_WORKSPACE}" -name 'san_log.*' | xargs head -n 1000

0 commit comments

Comments
 (0)