Skip to content

Commit

Permalink
Fix codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
mvfki authored Dec 10, 2024
1 parent 6eccb6b commit 94f5e7b
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/r.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,9 @@ jobs:
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "note")
shell: Rscript {0}

- name: Run codecov
- name: Run & upload codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
covr::package_coverage(type = "tests")
covr::codecov(token = Sys.getenv("CODECOV_TOKEN"))
shell: Rscript {0}

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 94f5e7b

Please sign in to comment.