Skip to content

Commit

Permalink
Try generate codecov report.
Browse files Browse the repository at this point in the history
  • Loading branch information
maciekbanas committed Oct 11, 2024
1 parent 30fa907 commit d34a621
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,15 @@ jobs:
)
shell: Rscript {0}

- name: Generate code coverage report
run: |
Rscript -e "covr::report(covr::package_coverage(), file='coverage.xml')"
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
Expand Down

0 comments on commit d34a621

Please sign in to comment.