Skip to content

Commit 2bb3ed9

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 f5ff4fa commit 2bb3ed9

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/ci.yml

+11-6
Original file line numberDiff line numberDiff line change
@@ -173,16 +173,21 @@ jobs:
173173
os: [Windows]
174174
python:
175175
- "3.8"
176-
# Commented out, since Windows tests are expensively slow,
177-
# only test the oldest and newest Python supported by pip
178-
# - "3.9"
179-
# - "3.10"
180-
# - "3.11"
181-
# - "3.12"
176+
- "3.9"
177+
- "3.10"
178+
- "3.11"
179+
- "3.12"
182180
- "3.13"
183181
group:
184182
- { number: 1, pytest-filter: "not test_install" }
185183
- { number: 2, pytest-filter: "test_install" }
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 }
186191

187192
steps:
188193
# The D: drive is significantly faster than the system C: drive.

0 commit comments

Comments
 (0)