File tree Expand file tree Collapse file tree 5 files changed +9
-14
lines changed
Expand file tree Collapse file tree 5 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 88 push :
99 branches : [main, master]
1010 pull_request :
11- branches : [main, master]
1211
1312name : R-CMD-check.yaml
1413
2625 config :
2726 - {os: macos-latest, r: 'release'}
2827
29- - {os: windows-latest, r: 'devel'}
3028 - {os: windows-latest, r: 'release'}
3129 # use 4.0 or 4.1 to check with rtools40's older compiler
3230 - {os: windows-latest, r: 'oldrel-4'}
Original file line number Diff line number Diff line change 44 push :
55 branches : [main, master]
66 pull_request :
7- branches : [main, master]
87 release :
98 types : [published]
109 workflow_dispatch :
Original file line number Diff line number Diff line change 44 push :
55 branches : [main, master]
66 pull_request :
7- branches : [main, master]
87
98name : test-coverage.yaml
109
@@ -35,14 +34,16 @@ jobs:
3534 clean = FALSE,
3635 install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
3736 )
37+ print(cov)
3838 covr::to_cobertura(cov)
3939 shell : Rscript {0}
4040
41- - uses : codecov/codecov-action@v4
41+ - uses : codecov/codecov-action@v5
4242 with :
43- fail_ci_if_error : ${{ github.event_name != 'pull_request' && true || false }}
44- file : ./cobertura.xml
45- plugin : noop
43+ # Fail if error if not on PR, or if on PR and token is given
44+ fail_ci_if_error : ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
45+ files : ./cobertura.xml
46+ plugins : noop
4647 disable_search : true
4748 token : ${{ secrets.CODECOV_TOKEN }}
4849
Original file line number Diff line number Diff line change @@ -22,9 +22,8 @@ knitr::opts_chunk$set(
2222[ ![ R build status] ( https://github.com/r-lib/filelock/workflows/R-CMD-check/badge.svg )] ( https://github.com/r-lib/filelock/actions )
2323[ ![ ] ( https://www.r-pkg.org/badges/version/filelock )] ( https://www.r-pkg.org/pkg/filelock )
2424[ ![ CRAN RStudio mirror downloads] ( https://cranlogs.r-pkg.org/badges/filelock )] ( https://www.r-pkg.org/pkg/filelock )
25- [ ![ Coverage Status] ( https://img.shields.io/codecov/c/github/r-lib/filelock/main.svg )] ( https://app.codecov.io/github/r-lib/filelock?branch=main )
26- [ ![ Codecov test coverage] ( https://codecov.io/gh/r-lib/filelock/branch/main/graph/badge.svg )] ( https://app.codecov.io/gh/r-lib/filelock?branch=main )
2725[ ![ R-CMD-check] ( https://github.com/r-lib/filelock/actions/workflows/R-CMD-check.yaml/badge.svg )] ( https://github.com/r-lib/filelock/actions/workflows/R-CMD-check.yaml )
26+ [ ![ Codecov test coverage] ( https://codecov.io/gh/r-lib/filelock/graph/badge.svg )] ( https://app.codecov.io/gh/r-lib/filelock )
2827<!-- badges: end -->
2928
3029Place an exclusive or shared lock on a file. It uses ` LockFile ` on Windows
Original file line number Diff line number Diff line change @@ -10,11 +10,9 @@ status](https://github.com/r-lib/filelock/workflows/R-CMD-check/badge.svg)](http
1010[ ![ ] ( https://www.r-pkg.org/badges/version/filelock )] ( https://www.r-pkg.org/pkg/filelock )
1111[ ![ CRAN RStudio mirror
1212downloads] ( https://cranlogs.r-pkg.org/badges/filelock )] ( https://www.r-pkg.org/pkg/filelock )
13- [ ![ Coverage
14- Status] ( https://img.shields.io/codecov/c/github/r-lib/filelock/main.svg )] ( https://app.codecov.io/github/r-lib/filelock?branch=main )
15- [ ![ Codecov test
16- coverage] ( https://codecov.io/gh/r-lib/filelock/branch/main/graph/badge.svg )] ( https://app.codecov.io/gh/r-lib/filelock?branch=main )
1713[ ![ R-CMD-check] ( https://github.com/r-lib/filelock/actions/workflows/R-CMD-check.yaml/badge.svg )] ( https://github.com/r-lib/filelock/actions/workflows/R-CMD-check.yaml )
14+ [ ![ Codecov test
15+ coverage] ( https://codecov.io/gh/r-lib/filelock/graph/badge.svg )] ( https://app.codecov.io/gh/r-lib/filelock )
1816<!-- badges: end -->
1917
2018Place an exclusive or shared lock on a file. It uses ` LockFile ` on
You can’t perform that action at this time.
0 commit comments