File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -425,6 +425,21 @@ jobs:
425425 ../../cppcheck --dump naming_test.cpp
426426 python3 ../naming.py --var='[a-z].*' --function='[a-z].*' naming_test.cpp.dump
427427
428+ - name : test addons (Python)
429+ if : matrix.os != 'ubuntu-22.04'
430+ run : |
431+ python3 -m pytest -Werror --strict-markers -vv addons/test
432+ env :
433+ PYTHONPATH : ./addons
434+
435+ # we cannot specify -Werror since xml/etree/ElementTree.py in Python 3.10 contains an unclosed file
436+ - name : test addons (Python)
437+ if : matrix.os == 'ubuntu-22.04'
438+ run : |
439+ python3 -m pytest --strict-markers -vv addons/test
440+ env :
441+ PYTHONPATH : ./addons
442+
428443 - name : Build democlient
429444 if : matrix.os == 'ubuntu-22.04'
430445 run : |
Original file line number Diff line number Diff line change @@ -224,6 +224,13 @@ jobs:
224224 ..\..\cppcheck --dump naming_test.cpp || exit /b !errorlevel!
225225 python3 ..\naming.py --var='[a-z].*' --function='[a-z].*' naming_test.cpp.dump || exit /b !errorlevel!
226226
227+ - name : test addons (Python)
228+ if : matrix.config == 'release'
229+ run : |
230+ python -m pytest -Werror --strict-markers -vv addons/test || exit /b !errorlevel!
231+ env :
232+ PYTHONPATH : ./addons
233+
227234 - name : Check Windows test syntax
228235 if : matrix.config == 'debug'
229236 run : |
You can’t perform that action at this time.
0 commit comments