Skip to content

Commit 6e2c628

Browse files
committed
Copying codecov code from PLP, where it still seems to be working
1 parent cc4feaf commit 6e2c628

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/R_CMD_check_Hades.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626

2727
env:
2828
GITHUB_PAT: ${{ secrets.GH_TOKEN }}
29-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3029
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
3130
RSPM: ${{ matrix.config.rspm }}
3231
CDM5_ORACLE_CDM_SCHEMA: ${{ secrets.CDM5_ORACLE_CDM_SCHEMA }}
@@ -93,14 +92,14 @@ jobs:
9392
path: check/*.tar.gz
9493

9594
- name: Install covr
96-
if: runner.os == 'macOS'
95+
if: runner.os == 'Linux'
9796
run: |
98-
install.packages("covr")
97+
remotes::install_cran("covr")
9998
shell: Rscript {0}
100-
99+
101100
- name: Test coverage
102-
if: runner.os == 'macOS'
103-
run: covr::codecov()
101+
if: runner.os == 'Linux'
102+
run: covr::codecov(token = "${{ secrets.CODECOV_TOKEN }}")
104103
shell: Rscript {0}
105104

106105
Release:

0 commit comments

Comments
 (0)