Commit 68b7d7e
committed
Optimize CI for PRs: Add pairwise coverage unit tests and skip wheel tests
For pull requests, implement 2-way coverage (pairwise) between OS and Python
version to reduce CI time while maintaining comprehensive test coverage.
Changes:
- Add unit_tests job that runs on PRs with full OS×Python matrix
(ubuntu-latest, macos-14, windows-latest) × (Python 3.8-3.14)
= 21 jobs providing pairwise coverage
- Skip tests in build_wheels job for PRs using CIBW_TEST_SKIP='*'
to avoid redundant testing and reduce CI time
- Wheels are still built for all platforms on PRs, just not tested
- Full wheel testing remains enabled for push to main and tags
This reduces PR CI time from 45-90 minutes to ~15-20 minutes while
maintaining full test coverage through the dedicated unit_tests job.1 parent 63be86b commit 68b7d7e
1 file changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
15 | 41 | | |
16 | 42 | | |
17 | 43 | | |
| |||
290 | 316 | | |
291 | 317 | | |
292 | 318 | | |
| 319 | + | |
293 | 320 | | |
294 | 321 | | |
295 | 322 | | |
| |||
0 commit comments