Skip to content

Commit a600a69

Browse files
authored
[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
1 parent 4c4173c commit a600a69

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/pytest.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os: [ubuntu-latest]
20-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
20+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2121
include:
2222
- os: macos-latest
2323
python-version: "3.12"
@@ -42,5 +42,10 @@ jobs:
4242
uv pip install pytest pytest-cov pytest-benchmark hypothesis --system
4343
uv pip freeze --system
4444
45-
- name: Run tests
45+
- name: Run tests with -Werror
46+
if: matrix.python-version != '3.14'
4647
run: pytest --cov=pyerrors -vv -Werror
48+
49+
- name: Run tests without -Werror for python 3.14
50+
if: matrix.python-version == '3.14'
51+
run: pytest --cov=pyerrors -vv

0 commit comments

Comments
 (0)