Skip to content

Test multiple Python versions#580

Open
martincostello wants to merge 3 commits intow3c:mainfrom
martincostello:test-multiple-python-versions
Open

Test multiple Python versions#580
martincostello wants to merge 3 commits intow3c:mainfrom
martincostello:test-multiple-python-versions

Conversation

@martincostello
Copy link
Copy Markdown
Contributor

@martincostello martincostello commented Mar 15, 2026

  • Update tests to run a matrix for 3.11-3.13.
  • Update GitHub Actions to their latest versions.

- Update tests to run a matrix for 3.11-3.14.
- Update GitHub Actions to their latest versions.
- Disable until w3c#581 is fixed.
- Add job to meet the required statuses without needing to reconfigure the status checks.
@martincostello martincostello marked this pull request as ready for review March 15, 2026 16:09
Copilot AI review requested due to automatic review settings March 15, 2026 16:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the CI self-test workflow to execute the Python self-tests across multiple Python versions and introduces a follow-up gating job intended to fail the workflow if any matrix run fails.

Changes:

  • Add a strategy matrix to run tests on Python 3.11–3.13.
  • Update the checkout/setup-python GitHub Action versions.
  • Add a self-test job that gates overall success based on the matrix results.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/self_test.yml Outdated
Comment thread .github/workflows/self_test.yml Outdated
Comment thread .github/workflows/self_test.yml
- Rename steps.
- Fix indentation.
Copy link
Copy Markdown
Member

@dyladan dyladan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me. Some projects use this as a test suite for their project and it is good to know they can use multiple versions. I would not make any promises about which python versions do and do not work though outside of making a reasonable effort to support recent versions.

Comment thread .github/workflows/self_test.yml
@dyladan dyladan added the tooling This issue or PR affects tooling or processes and does not affect the specification itself label Apr 21, 2026
Copy link
Copy Markdown

@zacharycmontoya zacharycmontoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tooling This issue or PR affects tooling or processes and does not affect the specification itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants