Skip to content

Commit e337e99

Browse files
authored
Merge pull request #2042 from EliahKagan/cygwin-ci-split
Split Cygwin CI into non-`performance` and `performance` test jobs
2 parents 27bf23c + a6c623e commit e337e99

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/cygwin-test.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ jobs:
1010
runs-on: windows-latest
1111

1212
strategy:
13+
matrix:
14+
selection: [fast, perf]
15+
include:
16+
- selection: fast
17+
additional-pytest-args: --ignore=test/performance
18+
- selection: perf
19+
additional-pytest-args: test/performance
20+
1321
fail-fast: false
1422

1523
env:
@@ -85,6 +93,6 @@ jobs:
8593
python --version
8694
python -c 'import os, sys; print(f"sys.platform={sys.platform!r}, os.name={os.name!r}")'
8795
88-
- name: Test with pytest
96+
- name: Test with pytest (${{ matrix.additional-pytest-args }})
8997
run: |
90-
pytest --color=yes -p no:sugar --instafail -vv
98+
pytest --color=yes -p no:sugar --instafail -vv ${{ matrix.additional-pytest-args }}

0 commit comments

Comments
 (0)