Skip to content

Commit fc3255f

Browse files
committed
Skip slow tests on windows
1 parent 4187575 commit fc3255f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,11 @@ jobs:
149149
run: |
150150
source ~/.profile
151151
conda activate anaconda-client-env
152-
python -m pytest -x --cov=tskit --cov-report=xml --cov-branch -n2 --durations=20 tests
152+
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
153+
python -m pytest -x --skip-slow --cov=tskit --cov-report=xml --cov-branch -n2 --durations=20 tests
154+
else
155+
python -m pytest -x --cov=tskit --cov-report=xml --cov-branch -n2 --durations=20 tests
156+
fi
153157
154158
- name: Upload coverage to Codecov
155159
uses: codecov/[email protected]

0 commit comments

Comments
 (0)