Skip to content

Commit

Permalink
scriptcheck.yml: we cannot specify -Werror since xml/etree/ElementTre…
Browse files Browse the repository at this point in the history
…e.py in Python 3.9/3.10 contains an unclosed file
  • Loading branch information
firewave committed Sep 26, 2023
1 parent 5f00bcc commit dc476c7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/scriptcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,16 @@ jobs:
run: |
python tools/test_matchcompiler.py
# we cannot specify -Werror since xml/etree/ElementTree.py in Python 3.9/3.10 contains an unclosed file
- name: test addons
if: matrix.python-version == '3.9' || matrix.python-version == '3.10'
run: |
python -m pytest --strict-markers -vv addons/test/test-*.py
env:
PYTHONPATH: ./addons

- name: test addons
if: matrix.python-version != '3.9' && matrix.python-version != '3.10'
run: |
python -m pytest -Werror --strict-markers -vv addons/test/test-*.py
env:
Expand Down

0 comments on commit dc476c7

Please sign in to comment.