diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a170ae8..a995e34 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,10 +40,9 @@ jobs: - name: Test with pytest run: | python -m poetry run pytest --cov deep_quality_estimation --cov-report=xml - # Add the following block to upload coverage to Codecov, requires a CODECOV_TOKEN secret to be set in the repository - # - name: Upload results to Codecov - # # Only upload to Codecov after a merge to the main branch - # if: github.ref == 'refs/heads/main' && github.event_name == 'push' - # uses: codecov/codecov-action@v4 - # with: - # token: ${{ secrets.CODECOV_TOKEN }} + - name: Upload results to Codecov + # Only upload to Codecov after a merge to the main branch + if: github.ref == 'refs/heads/main' && github.event_name == 'push' + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }}