Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Test all Python versions on Windows on scheduled runs #13191

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,17 +172,27 @@ jobs:
matrix:
os: [Windows]
python:
# NOTE: don't forget to update middle versions below!
- "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 during a scheduled run.
# This is possible by smuggling whether the run is scheduled via a
# a dynamic matrix variable and matching against that. Don't ask me why
# scheduled is defined as an array.
- { 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
Loading