0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 11:11:49 +02:00

ci: add coverage report

This commit is contained in:
2025-05-12 16:16:33 +02:00
committed by Klaus Wakonig
parent d712944e6b
commit 16e167019f

View File

@ -44,4 +44,12 @@ jobs:
pip install coverage pytest pytest-random-order
coverage run --source=./bec_widgets -m pytest -v --junitxml=report.xml --maxfail=2 --random-order --full-trace ./tests/unit_tests
coverage report
coverage xml
coverage xml
- name: Upload to Codecov
uses: codecov/codecov-action@v3
with:
file: coverage.xml
flags: unit-tests
name: codecov-$(date +%Y-%m-%d)
fail_ci_if_error: true
verbose: true