Skip to content

Commit d42c434

Browse files
authored
Update full_test_core_for_pr.yml
ci(workflows): add diagnostics to maintainer-only core tests - Rename workflow to "Full Core Tests (maintainer only)" for clarity - Enable `PYTHONFAULTHANDLER=1` and `PYTHONASYNCIODEBUG=1` in the "with secrets" run - Add `-o faulthandler_timeout=300` and `--durations=25` to pytest to surface hangs and slow tests
1 parent 75d43d0 commit d42c434

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/full_test_core_for_pr.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Full Tests (maintainer only)
1+
name: Full Core Tests (maintainer only)
22

33
on:
44
workflow_dispatch:
@@ -80,8 +80,12 @@ jobs:
8080
# Run Core tests
8181
- name: Run core tests (with secrets)
8282
if: ${{ env.OPENAI_API_KEY != '' }}
83+
env:
84+
PYTHONFAULTHANDLER: "1"
85+
PYTHONASYNCIODEBUG: "1"
8386
run: |
8487
poetry run pytest -vv -rA --maxfail=1 --capture=tee-sys \
88+
-o faulthandler_timeout=300 --durations=25 \
8589
tests/test_core/ \
8690
--ignore=tests/test_core/test_synthesizer/ \
8791
--ignore=tests/test_core/test_datasets/

0 commit comments

Comments
 (0)