File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 push :
99 branches : [main, master]
1010 pull_request :
11- branches : [main, master]
1211
13- name : R-CMD-check
12+ name : R-CMD-check.yaml
1413
1514permissions : read-all
1615
2726 - {os: macos-latest, r: 'release'}
2827
2928 - {os: windows-latest, r: 'release'}
30- # use 4.1 to check with rtools40's older compiler
31- - {os: windows-latest, r: '4.1 '}
29+ # use 4.0 or 4. 1 to check with rtools40's older compiler
30+ - {os: windows-latest, r: 'oldrel-4 '}
3231
3332 - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
3433 - {os: ubuntu-latest, r: 'release'}
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 :
1110
12- name : pkgdown
11+ name : pkgdown.yaml
1312
1413permissions : read-all
1514
Original file line number Diff line number Diff line change 44 push :
55 branches : [main, master]
66 pull_request :
7- branches : [main, master]
87
9- name : test-coverage
8+ name : test-coverage.yaml
109
1110permissions : read-all
1211
@@ -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
33<!-- badges: start -->
44[ ![ R-CMD-check] ( https://github.com/r-lib/devtools/actions/workflows/R-CMD-check.yaml/badge.svg )] ( https://github.com/r-lib/devtools/actions/workflows/R-CMD-check.yaml )
5- [ ![ Codecov test coverage] ( https://codecov.io/gh/r-lib/devtools/branch/main/graph/badge.svg )] ( https://app.codecov.io/gh/r-lib/devtools?branch=main )
65[ ![ CRAN_Status_Badge] ( https://www.r-pkg.org/badges/version/devtools )] ( https://cran.r-project.org/package=devtools )
6+ [ ![ Codecov test coverage] ( https://codecov.io/gh/r-lib/devtools/graph/badge.svg )] ( https://app.codecov.io/gh/r-lib/devtools )
77<!-- badges: end -->
88
99The aim of devtools is to make package development easier by providing R
You can’t perform that action at this time.
0 commit comments