diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index af98e210..d04a20bb 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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