diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 39d14845..75e9b537 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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 \ No newline at end of file + token: ${{ secrets.CODECOV_TOKEN }} + slug: bec-project/bec_widgets \ No newline at end of file diff --git a/README.md b/README.md index c9f6b418..cf48ff18 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ [![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12-blue?logo=python&logoColor=white)](https://www.python.org) [![PySide6](https://img.shields.io/badge/PySide6-blue?logo=qt&logoColor=white)](https://doc.qt.io/qtforpython/) [![Conventional Commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow?logo=conventionalcommits&logoColor=white)](https://conventionalcommits.org) +[![codecov](https://codecov.io/gh/bec-project/bec_widgets/graph/badge.svg?token=0Z9IQRJKMY)](https://codecov.io/gh/bec-project/bec_widgets) **⚠️ Important Notice:**