Skip to content

Commit e1a5f51

Browse files
committed
updated gh test coverage
1 parent b6caf6a commit e1a5f51

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/coverage.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1616

1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- uses: r-lib/actions/setup-r@v2
2121
with:
@@ -31,20 +31,21 @@ jobs:
3131
covr::codecov(
3232
quiet = FALSE,
3333
clean = FALSE,
34-
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
34+
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package"),
35+
token = "${{ secrets.CODECOV_TOKEN }}"
3536
)
3637
shell: Rscript {0}
3738

3839
- name: Show testthat output
3940
if: always()
4041
run: |
4142
## --------------------------------------------------------------------
42-
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
43+
find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true
4344
shell: bash
4445

4546
- name: Upload test results
4647
if: failure()
4748
uses: actions/upload-artifact@v3
4849
with:
4950
name: coverage-test-failures
50-
path: ${{ runner.temp }}/package
51+
path: ${{ runner.temp }}/package

0 commit comments

Comments
 (0)