Skip to content

ci: test on Python 3.11–3.14 behind a single required tests check - #29

Merged
Bonajo merged 1 commit into
mainfrom
ci/tests-check
Nov 15, 2026
Merged

Bonajo merged 1 commit into
mainfrom
ci/tests-check

Conversation

@Bonajo

@Bonajo Bonajo commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Brings test.yml in line with prepare-assignment/core.

  • changes job: a PR that only touches *.md, LICENSE or .github/ISSUE_TEMPLATE/* skips test, coverage and typecheck.
  • Aggregate tests job: succeeds when every job passed or was skipped. Skipped matrix jobs don't report their own checks, so this becomes the single required check, next to conventional title.
  • Matrix: Python 3.11–3.14 on ubuntu, windows and macOS. 3.10 is end of life and leaves the matrix; the next PR also drops it from requires-python. 3.13 and 3.14 are new.
  • setup-uv cache: keyed on uv.lock and the Python version.
  • Test reports: mikepenz/action-junit-report (as in core) replaces dorny/test-reporter, with checks: write only on the test job. The workflow defaults to contents: read.
  • Coverage step: $GITHUB_STEP_SUMMARY is now quoted (shellcheck SC2086 reported by actionlint).

The job names don't change, so the checks the ruleset requires now (test (3.12, *), coverage (3.12), typecheck (3.12)) still report on this PR. After merging, the "Main" ruleset's required checks become conventional title + tests.

@Bonajo
Bonajo merged commit 1c285cd into main Nov 15, 2026
29 checks passed
@Bonajo
Bonajo deleted the ci/tests-check branch November 15, 2026 09:55
Bonajo added a commit that referenced this pull request Nov 15, 2026
Python 3.10 reached end of life in October 2026 and has not been tested
since #29 (matrix 3.11–3.14). core already requires >=3.11.

- `requires-python = ">=3.11"`, so the wheel metadata now says
`Requires-Python: >=3.11`
- ruff `target-version = "py311"`
- `uv.lock` refreshed: 3.10-only wheels and `exceptiongroup` dropped.
The lock is now revision 5, like core and toolbox.

`build:` cuts no release, so the next release (1.3.1) is the first that
needs 3.11. pip and uv honour `Requires-Python`, so users on 3.10 keep
getting 1.3.0.

Locally on 3.14: 137 tests pass, and mypy and ruff are clean.
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.3.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant