Skip to content

Commit

Permalink
Copying codecov code from PLP, where it still seems to be working
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Oct 29, 2024
1 parent cc4feaf commit 6e2c628
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/R_CMD_check_Hades.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:

env:
GITHUB_PAT: ${{ secrets.GH_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: ${{ matrix.config.rspm }}
CDM5_ORACLE_CDM_SCHEMA: ${{ secrets.CDM5_ORACLE_CDM_SCHEMA }}
Expand Down Expand Up @@ -93,14 +92,14 @@ jobs:
path: check/*.tar.gz

- name: Install covr
if: runner.os == 'macOS'
if: runner.os == 'Linux'
run: |
install.packages("covr")
remotes::install_cran("covr")
shell: Rscript {0}

- name: Test coverage
if: runner.os == 'macOS'
run: covr::codecov()
if: runner.os == 'Linux'
run: covr::codecov(token = "${{ secrets.CODECOV_TOKEN }}")
shell: Rscript {0}

Release:
Expand Down

0 comments on commit 6e2c628

Please sign in to comment.