Simplify CI definition (#111)

* Simplify CI definition

Courtesy of modern tox.

* Add Python 3.15 to CI
This commit is contained in:
Hynek Schlawack 2026-02-21 14:25:22 +01:00 committed by GitHub
parent 1bf08b858f
commit 900ce08474
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 15 deletions

View File

@ -33,6 +33,8 @@ jobs:
- "pypy-3.9" - "pypy-3.9"
- "pypy-3.10" - "pypy-3.10"
- "pypy-3.11" - "pypy-3.11"
env:
PYTHON: ${{ matrix.python-version }}
steps: steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@ -45,20 +47,7 @@ jobs:
allow-prereleases: true allow-prereleases: true
cache: pip cache: pip
- run: python -Im pip install tox - run: python -Im pip install tox
- run: python -Im tox run -e $PYTHON
- name: Determine Python version for tox
env:
V: ${{ matrix.python-version }}
run: |
if [[ "$V" = pypy-* ]]; then
V=$(echo $V | tr -d .-)
else
V=py$(echo $V | tr -d .)
fi
echo TOX_PYTHON=$V >>$GITHUB_ENV
- run: python -Im tox run -e $TOX_PYTHON
system-package: system-package:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -32,6 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14", "Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Free Threading", "Programming Language :: Python :: Free Threading",
"Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: Python :: Implementation :: PyPy",

View File

@ -3,7 +3,8 @@ min_version = 4.25
env_list = env_list =
pre-commit, pre-commit,
cog-{check,render}, cog-{check,render},
py3.{9-14,14t}, 3.{9-15},
3.1{4-5}t,
pypy3.{9-11}, pypy3.{9-11},
system-argon2 system-argon2