[ci] Add python 3.14 runners for pytest workflow (#270)

* [ci] Add python 3.14 runners for pytest workflow

* [ci] Deactivate -Werror option in pytest workflow to fix python 3.14
runner

* [ci] Run tests with Werror for all python versions but for 3.14
This commit is contained in:
Fabian Joswig 2025-10-19 12:44:06 +02:00 committed by GitHub
commit a600a69bb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
include:
- os: macos-latest
python-version: "3.12"
@ -42,5 +42,10 @@ jobs:
uv pip install pytest pytest-cov pytest-benchmark hypothesis --system
uv pip freeze --system
- name: Run tests
- name: Run tests with -Werror
if: matrix.python-version != '3.14'
run: pytest --cov=pyerrors -vv -Werror
- name: Run tests without -Werror for python 3.14
if: matrix.python-version == '3.14'
run: pytest --cov=pyerrors -vv