Skip to content

Commit a0f68cf

Browse files
committed
Dumps
1 parent 73a426f commit a0f68cf

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,18 @@ jobs:
8585
run: uv sync --all-extras
8686

8787
- name: Run unit tests with coverage
88+
env:
89+
PYTHONFAULTHANDLER: "1"
8890
run: |
8991
if [ "${{ matrix.python-version }}" = "3.9" ]; then
90-
uv run pytest tests/unit/ -v --cov=drift/core --cov-report=xml
92+
uv run python -X faulthandler -m pytest tests/unit/ \
93+
--durations=25 \
94+
-o faulthandler_timeout=120 \
95+
--cov=drift/core --cov-report=xml
9196
else
92-
uv run pytest tests/unit/ -v
97+
uv run python -X faulthandler -m pytest tests/unit/ \
98+
--durations=25 \
99+
-o faulthandler_timeout=120
93100
fi
94101
95102
- name: Upload coverage to Coveralls

0 commit comments

Comments
 (0)