diff options
| -rw-r--r-- | .github/workflows/push.yml | 7 | ||||
| -rwxr-xr-x | testsuite/testsuite.sh | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index db1ca813b..26f4d7c2d 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -294,11 +294,8 @@ jobs: pacman --noconfirm -U artifact/mingw-w64-x86_64-ghdl-llvm-*.zst pip3 install -r testsuite/requirements.txt - - name: Test package - run: | - GHDL=ghdl \ - PYTEST_ARGS='--cov=.. --cov-config=.coveragerc' \ - ./testsuite/testsuite.sh pyunit + - name: Run tests to generate coverage report + run: PYTHONPATH=$(pwd)/.. python3 -m pytest -rA --cov=.. --cov-config=.coveragerc testsuite/pyunit #--- diff --git a/testsuite/testsuite.sh b/testsuite/testsuite.sh index d56d78ffe..f62d9e577 100755 --- a/testsuite/testsuite.sh +++ b/testsuite/testsuite.sh @@ -141,7 +141,7 @@ do_gna () { # The Python Unit testsuite: regression testsuite for Python bindings to libghdl do_pyunit () { gstart "[GHDL - test] pyunit" - PYTHONPATH=$(pwd)/.. python3 -m pytest -rA $PYTEST_ARGS pyunit + PYTHONPATH=$(pwd)/.. python3 -m pytest -rA pyunit gend } |
