mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 03:31:50 +02:00
ci: fix upload to codecov
This commit is contained in:
11
.github/workflows/pytest.yml
vendored
11
.github/workflows/pytest.yml
vendored
@ -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 run --source=./bec_widgets -m pytest -v --junitxml=report.xml --maxfail=2 --random-order --full-trace ./tests/unit_tests
|
||||||
coverage report
|
coverage report
|
||||||
coverage xml
|
coverage xml
|
||||||
- name: Upload to Codecov
|
- name: Upload coverage reports to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
file: coverage.xml
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
flags: unit-tests
|
slug: bec-project/bec_widgets
|
||||||
name: codecov-$(date +%Y-%m-%d)
|
|
||||||
fail_ci_if_error: true
|
|
||||||
verbose: true
|
|
@ -8,6 +8,7 @@
|
|||||||
[](https://www.python.org)
|
[](https://www.python.org)
|
||||||
[](https://doc.qt.io/qtforpython/)
|
[](https://doc.qt.io/qtforpython/)
|
||||||
[](https://conventionalcommits.org)
|
[](https://conventionalcommits.org)
|
||||||
|
[](https://codecov.io/gh/bec-project/bec_widgets)
|
||||||
|
|
||||||
|
|
||||||
**⚠️ Important Notice:**
|
**⚠️ Important Notice:**
|
||||||
|
Reference in New Issue
Block a user