diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index e5b59004..8d7972da 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -42,6 +42,16 @@ jobs: covr::to_cobertura(cov) shell: Rscript {0} + + - name: Upload coverage report + uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: false + files: ./cobertura.xml + plugins: noop + disable_search: true + token: ${{ secrets.CODECOV_TOKEN }} + - name: Create Junit Report if: ${{ !cancelled() }} run: | @@ -57,15 +67,6 @@ jobs: file: ./junit.xml token: ${{ secrets.CODECOV_TOKEN }} - - name: Upload coverage report - uses: codecov/codecov-action@v5 - with: - fail_ci_if_error: false - files: ./cobertura.xml - plugins: noop - disable_search: true - token: ${{ secrets.CODECOV_TOKEN }} - - name: Show testthat output if: always() run: |