diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6759935..dfd2425 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,8 @@ jobs: - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v5 - file: ./coverage.xml - fails_ci_if_error: false - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + if: ${{ matrix.run-codecov }} + with: + fails_ci_if_error: false + files: ./coverage.xml + token: ${{ secrets.CODECOV_TOKEN }}