diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index b3004573..39d14845 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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 \ No newline at end of file + 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 \ No newline at end of file