We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c8d9af commit dd66f7dCopy full SHA for dd66f7d
.github/workflows/test-coverage.yaml
@@ -35,14 +35,16 @@ jobs:
35
clean = FALSE,
36
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
37
)
38
+ print(cov)
39
covr::to_cobertura(cov)
40
shell: Rscript {0}
41
- - uses: codecov/codecov-action@v4
42
+ - uses: codecov/codecov-action@v5
43
with:
- fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }}
44
- file: ./cobertura.xml
45
- plugin: noop
+ # Fail if error if not on PR, or if on PR and token is given
+ fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
46
+ files: ./cobertura.xml
47
+ plugins: noop
48
disable_search: true
49
token: ${{ secrets.CODECOV_TOKEN }}
50
0 commit comments