Run tests against 3.14t, too (#204)

* Run tests against 3.14t, too

* fix path

* yamlllll
This commit is contained in:
Hynek Schlawack 2025-07-30 17:40:53 +02:00 committed by GitHub
parent 47ef1e4bb7
commit e28bc9431a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 38 additions and 1 deletions

View File

@ -85,6 +85,42 @@ jobs:
--installpkg dist/*.whl
-e py${PYTHON//./}-mypy
free-threading:
name: Test free-threaded builds on ${{ matrix.python-version }}
runs-on: ubuntu-latest
needs: build-package
strategy:
fail-fast: false
matrix:
python-version:
- 3.14t
env:
PYTHON: ${{ matrix.python-version }}
steps:
- name: Download pre-built packages
uses: actions/download-artifact@v4
with:
name: Packages
path: dist
- run: |
tar xf dist/*.tar.gz --strip-components=1
rm -rf src
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- uses: hynek/setup-cached-uv@v2
- name: Run tests
run: |
uv venv --python $PYTHON
# cffi 2 is required and currently beta.
uv pip install --prerelease=allow dist/*.whl --group dev
.venv/bin/python -Im pytest tests
coverage:
name: Ensure 100% test coverage

View File

@ -3,7 +3,8 @@ min_version = 4
env_list =
pre-commit,
mypy-pkg,
py3{9,10,11,12,13,14}-{tests,mypy}
py3{9,10,11,12,13,14}-{tests,mypy},
py314t-tests,
py312-bindings-main,
pypy3-tests,
system-argon2,