Skip to content

Commit

Permalink
CI: make warnings fatal when running pytest.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilk committed Jan 4, 2025
1 parent b8ab515 commit 74b1f9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
- name: run tests
run: |
python3 -m pip install ${{matrix.pytest}}
python3 -m pytest -v
werror='-Werror'
python3 -m pytest -Werror --version || werror=''
python3 -m pytest $werror -v
if: ${{matrix.pytest}}
- name: check docs
run: |
Expand Down

0 comments on commit 74b1f9e

Please sign in to comment.