ci: fix upload to codecov

This commit is contained in:
wakonig_k authored and Klaus Wakonig committed 2025-05-12 18:23:23 +02:00
1 parent 507ac10e8d
commit e3205d6c97
2 files changed
+5 -7

No files matched your search

+4 -7
View File
@@ -45,11 +45,8 @@ jobs:
coverage run --source=./bec_widgets -m pytest -v --junitxml=report.xml --maxfail=2 --random-order --full-trace ./tests/unit_tests
coverage report
coverage xml
- name: Upload to Codecov
uses: codecov/codecov-action@v3
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
file: coverage.xml
flags: unit-tests
name: codecov-$(date +%Y-%m-%d)
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
slug: bec-project/bec_widgets