Skip to content

Test multiple Python versions - #580

Merged
dyladan merged 3 commits into
w3c:mainfrom
martincostello:test-multiple-python-versions
Jun 29, 2026
Merged

Test multiple Python versions#580
dyladan merged 3 commits into
w3c:mainfrom
martincostello:test-multiple-python-versions

Conversation

@martincostello

@martincostello martincostello commented Mar 15, 2026

Copy link
Copy Markdown
Contributor
  • 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

Copilot AI left a comment

Copy link
Copy Markdown

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.

@dyladan dyladan left a comment

Copy link
Copy Markdown
Member

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

@zacharycmontoya zacharycmontoya left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM as well

@dyladan
dyladan merged commit e5665be into w3c:main Jun 29, 2026
5 checks passed
@martincostello
martincostello deleted the test-multiple-python-versions branch June 29, 2026 20:30
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.

6 participants