Skip to content

Commit 5ecca59

Browse files
committed
Use pairwise testing: 7 combinations cover all OS×Python pairs
Changed from 21 (3×7) to 7 pairwise combinations: - All 3 OSes tested: ubuntu, macos, windows - All 7 Python versions tested: 3.8-3.14 - 67% reduction in CI jobs (21→7)
1 parent 6cf2bb9 commit 5ecca59

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,22 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
# Test only key combinations: latest Python on each OS
24-
os: [ubuntu-latest, macos-14, windows-latest]
25-
python: ['3.12']
23+
# Pairwise coverage: All OS × Python pairs covered with 7 combinations
24+
include:
25+
- os: ubuntu-latest
26+
python: '3.8'
27+
- os: ubuntu-latest
28+
python: '3.12'
29+
- os: macos-14
30+
python: '3.9'
31+
- os: macos-14
32+
python: '3.13'
33+
- os: windows-latest
34+
python: '3.10'
35+
- os: windows-latest
36+
python: '3.11'
37+
- os: windows-latest
38+
python: '3.14'
2639
steps:
2740
- uses: actions/checkout@v4
2841
with:

0 commit comments

Comments
 (0)