try to generate coverage report

This commit is contained in:
Sina Atalay 2023-10-09 21:25:40 +02:00
parent 71e05ad26a
commit d45abc810d
1 changed files with 6 additions and 1 deletions

View File

@ -37,4 +37,9 @@ jobs:
- name: Test with pytest - name: Test with pytest
run: | run: |
pip install pytest pytest-cov pip install pytest pytest-cov
pytest --cov-report=html --junitxml=report.xml -v tests/ pytest --cov-report html --cov="./coverage-report/" tests/
- name: upload coverage data
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: ./coverage-report/