Skip to content

Commit

Permalink
Update github actions v4
Browse files Browse the repository at this point in the history
  • Loading branch information
klau506 committed Mar 20, 2024
1 parent 048e2f9 commit f0da248
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,23 @@ jobs:
run: |
install.packages(c("remotes","rcmdcheck","covr"), repos = "https://cloud.r-project.org")
remotes::install_github("JGCRI/rpackageutils")
remotes::install_github("bc3LC/rfasst")
remotes::install_github("bc3LC/rfasst@dev_k")
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}

- name: Test coverage
run: |
cov <- covr::package_coverage()
covr:::report(cov, file = "coverage.xml")
shell: Rscript {0}

- uses: codecov/codecov-action@v3
# - name: Test coverage
# run: |
# cov <- covr::package_coverage()
# covr:::report(cov, file = "coverage.xml")
# shell: Rscript {0}
#
# - uses: codecov/codecov-action@v3
# with:
# token: ${{secrets.CODECOV_TOKEN}}
# files: ./coverage.xml
# verbose: true
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
files: ./coverage.xml
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
slug: bc3LC/rfasstui

0 comments on commit f0da248

Please sign in to comment.