aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/push.yml
diff options
context:
space:
mode:
authorumarcor <unai.martinezcorral@ehu.eus>2021-01-01 04:18:15 +0100
committertgingold <tgingold@users.noreply.github.com>2021-01-01 11:19:04 +0100
commitfad4d10f4ab0f8700d111dbefb9e036b19576125 (patch)
tree30ec1d91bfbe9500f0da014bcfb4796a25354348 /.github/workflows/push.yml
parentff6c17f5880428fe176c871c255222c7b7ae9879 (diff)
downloadghdl-fad4d10f4ab0f8700d111dbefb9e036b19576125.tar.gz
ghdl-fad4d10f4ab0f8700d111dbefb9e036b19576125.tar.bz2
ghdl-fad4d10f4ab0f8700d111dbefb9e036b19576125.zip
coverage: run pyunit directly
Diffstat (limited to '.github/workflows/push.yml')
-rw-r--r--.github/workflows/push.yml7
1 files changed, 2 insertions, 5 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
#---