mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-10-21 11:55:46 +02:00
[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:
parent
4c4173c461
commit
a600a69bb9
1 changed files with 7 additions and 2 deletions
9
.github/workflows/pytest.yml
vendored
9
.github/workflows/pytest.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
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:
|
include:
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
python-version: "3.12"
|
python-version: "3.12"
|
||||||
|
@ -42,5 +42,10 @@ jobs:
|
||||||
uv pip install pytest pytest-cov pytest-benchmark hypothesis --system
|
uv pip install pytest pytest-cov pytest-benchmark hypothesis --system
|
||||||
uv pip freeze --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
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue