Simplify CI definition (#111)
* Simplify CI definition Courtesy of modern tox. * Add Python 3.15 to CI
This commit is contained in:
parent
1bf08b858f
commit
900ce08474
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -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
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user