Skip to content

Commit ba62774

Browse files
authored
Add codecov token to Test-coverage.yaml
1 parent d5b394b commit ba62774

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/Test-coverage.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,14 @@ jobs:
5959
if: runner.os == 'Linux'
6060
run: covr::codecov(type = "tests")
6161
shell: Rscript {0}
62+
env:
63+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
6264

6365
- name: Test coverage (Windows)
6466
if: runner.os == 'Windows'
6567
run: |
6668
options(covr.gcov = 'C:/rtools44/mingw64/bin/gcov.exe');
6769
covr::codecov(type = "tests", function_exclusions = "sample_mpi")
6870
shell: Rscript {0}
71+
env:
72+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)