Skip to content

Commit

Permalink
added --strict and -vv` to pytest calls
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Sep 15, 2023
1 parent df4457e commit 8d86425
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI-unixish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,11 @@ jobs:
- name: Run test/cli
run: |
cd test/cli
python3 -m pytest test-*.py
python3 -m pytest --strict -vv test-*.py
cd ../../..
ln -s cppcheck 'cpp check'
cd 'cpp check/test/cli'
python3 -m pytest test-*.py
python3 -m pytest --strict -vv test-*.py
- name: Run cfg tests
if: matrix.os != 'ubuntu-22.04'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/CI-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,13 @@ jobs:
copy .\bin\cppcheck.exe .\cppcheck.exe || exit /b !errorlevel!
copy .\bin\cppcheck-core.dll .\cppcheck-core.dll || exit /b !errorlevel!
cd test/cli || exit /b !errorlevel!
:: python -m pytest --suppress-no-test-exit-code test-clang-import.py || exit /b !errorlevel!
python -m pytest test-helloworld.py || exit /b !errorlevel!
python -m pytest test-inline-suppress.py || exit /b !errorlevel!
python -m pytest test-more-projects.py || exit /b !errorlevel!
python -m pytest test-other.py || exit /b !errorlevel!
python -m pytest test-proj2.py || exit /b !errorlevel!
python -m pytest test-suppress-syntaxError.py || exit /b !errorlevel!
:: python -m pytest --strict -vv --suppress-no-test-exit-code test-clang-import.py || exit /b !errorlevel!
python -m pytest --strict -vv test-helloworld.py || exit /b !errorlevel!
python -m pytest --strict -vv test-inline-suppress.py || exit /b !errorlevel!
python -m pytest --strict -vv test-more-projects.py || exit /b !errorlevel!
python -m pytest --strict -vv test-other.py || exit /b !errorlevel!
python -m pytest --strict -vv test-proj2.py || exit /b !errorlevel!
python -m pytest --strict -vv test-suppress-syntaxError.py || exit /b !errorlevel!
- name: Test addons
if: matrix.config == 'release'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/scriptcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
- name: test addons
run: |
python -m pytest -v addons/test/test-*.py
python -m pytest --strict -vv addons/test/test-*.py
env:
PYTHONPATH: ./addons

Expand All @@ -149,21 +149,21 @@ jobs:
- name: test reduce
run: |
python -m pytest -v tools/test_reduce.py
python -m pytest --strict -vv tools/test_reduce.py
env:
PYTHONPATH: ./tools

- name: test donate_cpu_lib
if: matrix.python-version != '2.7'
run: |
python -m pytest -v tools/test_donate_cpu_lib.py
python -m pytest --strict -vv tools/test_donate_cpu_lib.py
env:
PYTHONPATH: ./tools

- name: test donate_cpu_server
if: matrix.python-version != '2.7'
run: |
python -m pytest -v tools/test_donate_cpu_server.py
python -m pytest --strict -vv tools/test_donate_cpu_server.py
env:
PYTHONPATH: ./tools

Expand Down

0 comments on commit 8d86425

Please sign in to comment.