Skip to content

Commit

Permalink
Add upload instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
fouodo committed Jul 18, 2024
1 parent 835ce3e commit 382953b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,14 @@ jobs:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
verbose: true
- name: Run tests
run: |
Rscript -e 'install.packages("covr");library(covr);package_coverage();covr::codecov(coverage = cov)'
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
verbose: true

0 comments on commit 382953b

Please sign in to comment.