Skip to content

Commit e78f775

Browse files
committed
CI: fail slow tests
1 parent c241196 commit e78f775

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/windows.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ jobs:
8989
run: |
9090
# 1.23.5 is currently the oldest numpy usable on cp3.10 according
9191
# to pyproject.toml
92-
python -m pip install numpy==1.23.5 cython pybind11 pythran meson-python meson ninja pytest pytest-xdist pytest-timeout pooch rich_click click doit pydevtool hypothesis "scipy-openblas32<=0.3.23.293.2"
92+
python -m pip install numpy==1.23.5 cython pybind11 pythran meson-python meson ninja pytest pytest-xdist pytest-timeout pytest-fail-slow pooch rich_click click doit pydevtool hypothesis "scipy-openblas32<=0.3.23.293.2"
9393
9494
- name: Build
9595
run: |
9696
python dev.py build --with-scipy-openblas
9797
9898
- name: Test
9999
run: |
100-
python dev.py test -j2 --mode full
100+
python dev.py test -j2 --mode full -- --durations=10 --timeout=60 --fail-slow=5
101101
102102
103103
#############################################################################

environment.yml

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ dependencies:
2727
- pytest-cov
2828
- pytest-xdist
2929
- pytest-timeout
30+
- pytest-fail-slow
3031
- asv >=0.6
3132
- hypothesis
3233
- array-api-strict

0 commit comments

Comments
 (0)