Repository navigation
ci: focus default Python matrix on minimum and maintained releases - #5302
Merged
Merged
Conversation
Keep full Python 3.11–3.15 coverage for scheduled and manual runs. Assisted-by: GitHub Copilot (model: GPT-6.1 Sol, autonomous) Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The review identifies no active issues with the revised Python CI coverage.
No open issues 🎉
What changed in this PR
Adjusts Spec Kit’s Python CI coverage to reduce routine jobs while retaining minimum-version compatibility checks and weekly coverage of all supported versions.
Changes:
- Runs Python 3.11, 3.14, and 3.15 on Linux, Windows, and macOS for pushes and pull requests.
- Adds weekly full-matrix testing for Python 3.11–3.15, matching manual runs.
- Updates workflow configuration tests and support documentation to reflect the policy.
| File | Description |
|---|---|
| tests/test_github_workflows.py | Verifies event-specific matrices and the weekly schedule. |
| SUPPORT.md | Documents routine and full-matrix coverage across platforms. |
| CONTRIBUTING.md | Updates the CI coverage guidance reference. |
| .github/workflows/test.yml | Adds the weekly trigger and revises Python matrix selection. |
Review effort: Balanced (auto)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Use Python 3.11, 3.14, and 3.15 for routine push and pull request tests on Linux, Windows, and macOS. This retains the minimum supported version as the compatibility touchstone while covering both bugfix-supported stable releases.
Run the full Python 3.11–3.15 matrix on all three platforms for weekly scheduled tests and manual
workflow_dispatchruns. The scheduled dependency-audit matrix remains unchanged. Update the support policy, contributor guidance, and workflow configuration tests to match.Testing
Set up this checkout's
.venvand editable install using the local development guide. Run commands from the checkout root..venv/bin/specify --help(Windows PowerShell:.\.venv\Scripts\specify.exe --help).venv/bin/python -m pytest tests -q(Windows PowerShell:.\.venv\Scripts\python.exe -m pytest tests -q); use affected test paths for focused checks andLC_ALL=en_US.UTF-8on macOSCommands and results:
uv sync --extra test— passed; created the worktree-local editable environment..venv/bin/specify --help— passed..venv/bin/python -m pytest tests/test_github_workflows.py tests/test_security_workflow.py -q— passed, 175 tests.git diff --check— passed.Sample-project and slash-command testing are not applicable: only CI selection, configuration tests, and related documentation changed. Live GitHub Actions execution was not run locally.
AI Disclosure
AI disclosure: GitHub Copilot using GPT-6.1 Sol in autonomous agent mode with default reasoning settings authored the workflow, test, documentation, commit, and PR changes and ran automated checks, following the contributor's requested matrix policy.