From fad4d10f4ab0f8700d111dbefb9e036b19576125 Mon Sep 17 00:00:00 2001 From: umarcor Date: Fri, 1 Jan 2021 04:18:15 +0100 Subject: coverage: run pyunit directly --- .github/workflows/push.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to '.github/workflows/push.yml') 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 #--- -- cgit v1.2.3