mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
gh-129694: Add --parallel-threads TSAN job to CI (gh-129696)
For now, this just adds a single test suite to the TSAN CI to be run with `--parallel-threads`.
This commit is contained in:
parent
55f17b77c3
commit
555dc50c81
4 changed files with 23 additions and 1 deletions
3
.github/workflows/reusable-tsan.yml
vendored
3
.github/workflows/reusable-tsan.yml
vendored
|
|
@ -74,6 +74,9 @@ jobs:
|
|||
run: make pythoninfo
|
||||
- name: Tests
|
||||
run: ./python -m test --tsan -j4
|
||||
- name: Parallel tests
|
||||
if: fromJSON(inputs.free-threading)
|
||||
run: ./python -m test --tsan-parallel --parallel-threads=4 -j4
|
||||
- name: Display TSAN logs
|
||||
if: always()
|
||||
run: find "${GITHUB_WORKSPACE}" -name 'tsan_log.*' | xargs head -n 1000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue