Skip to content

Commit 1499446

Browse files
committed
ci: Test all Python versions on Windows weekly
We should test pip across our entire Python support matrix on Windows, but we don't want to run the test suite across every Python version on very run as it's slow and unlikely to undercover a bug that the boundary jobs won't.
1 parent 61f76af commit 1499446

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/ci.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,21 @@ jobs:
173173
os: [Windows]
174174
python:
175175
- "3.8"
176+
- "3.9"
177+
- "3.10"
178+
- "3.11"
179+
- "3.12"
176180
- "3.13"
177181
group:
178182
- { number: 1, pytest-filter: "not test_install" }
179183
- { number: 2, pytest-filter: "test_install" }
180-
include:
181-
- python: ["3.9", "3.10", "3.11", "3.12"]
184+
scheduled: ${{ github.event_name == "schedule" }}
185+
exclude:
186+
# Only run Windows CI across all Python versions on a weekly basis.
187+
- { python: "3.9", scheduled: false }
188+
- { python: "3.10", scheduled: false }
189+
- { python: "3.11", scheduled: false }
190+
- { python: "3.12", scheduled: false }
182191

183192
steps:
184193
# The D: drive is significantly faster than the system C: drive.

0 commit comments

Comments
 (0)