From 7d0a760c1ebc265b0ae7741e207682cd653455ef Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Sun, 19 Oct 2025 12:37:07 +0200 Subject: [PATCH] [ci] Run tests with Werror for all python versions but for 3.14 --- .github/workflows/pytest.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 87f8bf74..d04a20bb 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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