Skip to content

Commit fc3255f

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

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.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/codecov-action@v5.4.0

0 commit comments

Comments
 (0)