Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba58f40

Browse files
committed
Split Cygwin CI into two test jobs
One job is for all tests except the `performance` tests, while the other job is for only the `performance` tests. The idea is to decrease the total time it takes for all CI jobs to complete in most cases, by splitting the long-running (currently usually about 13 minute) Cygwin job into two less-long jobs.
1 parent 27bf23c commit ba58f40

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/cygwin-test.yml

Lines changed: 9 additions & 1 deletion
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:
@@ -87,4 +95,4 @@ jobs:
8795
8896
- name: Test with pytest
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)