Skip to content

Commit

Permalink
ci: Test all Python versions on Windows weekly
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ichard26 committed Jan 29, 2025
1 parent f5ff4fa commit eaabffe
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,16 +173,21 @@ jobs:
os: [Windows]
python:
- "3.8"
# Commented out, since Windows tests are expensively slow,
# only test the oldest and newest Python supported by pip
# - "3.9"
# - "3.10"
# - "3.11"
# - "3.12"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
group:
- { number: 1, pytest-filter: "not test_install" }
- { number: 2, pytest-filter: "test_install" }
scheduled: ${{ github.event_name == 'schedule' }}
exclude:
# Only run Windows CI across all Python versions on a weekly basis.
- { python: "3.9", scheduled: false }
- { python: "3.10", scheduled: false }
- { python: "3.11", scheduled: false }
- { python: "3.12", scheduled: false }

steps:
# The D: drive is significantly faster than the system C: drive.
Expand Down

0 comments on commit eaabffe

Please sign in to comment.