diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 184c7c7f..847601c3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -133,13 +133,14 @@ jobs: run: pytest --cov --junitxml=junit.xml -o junit_family=legacy - name: Upload test results to Codecov - if: ${{ !cancelled() }} + if: matrix.os == 'ubuntu-latest' uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: false - name: Upload coverage results to Codecov + if: matrix.os == 'ubuntu-latest' uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }}