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 issue_comment :
55 types : [created]
66
7- name : Commands
7+ name : pr-commands.yaml
88
99permissions : read-all
1010
1515 runs-on : ubuntu-latest
1616 env :
1717 GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
18+ permissions :
19+ contents : write
1820 steps :
1921 - uses : actions/checkout@v4
2022
5254 runs-on : ubuntu-latest
5355 env :
5456 GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
57+ permissions :
58+ contents : write
5559 steps :
5660 - uses : actions/checkout@v4
5761
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 @@ -18,7 +18,7 @@ knitr::opts_chunk$set(
1818
1919<!-- badges: start -->
2020[ ![ Lifecycle: experimental] ( https://img.shields.io/badge/lifecycle-experimental-orange.svg )] ( https://lifecycle.r-lib.org/articles/stages.html )
21- [ ![ Codecov test coverage] ( https://codecov.io/gh/tidymodels/multilevelmod/branch/main/ graph/badge.svg )] ( https://app.codecov.io/gh/tidymodels/multilevelmod?branch=main )
21+ [ ![ Codecov test coverage] ( https://codecov.io/gh/tidymodels/multilevelmod/graph/badge.svg )] ( https://app.codecov.io/gh/tidymodels/multilevelmod )
2222[ ![ R-CMD-check] ( https://github.com/tidymodels/multilevelmod/actions/workflows/R-CMD-check.yaml/badge.svg )] ( https://github.com/tidymodels/multilevelmod/actions/workflows/R-CMD-check.yaml )
2323<!-- badges: end -->
2424
Original file line number Diff line number Diff line change 88[ ![ Lifecycle:
99experimental] ( https://img.shields.io/badge/lifecycle-experimental-orange.svg )] ( https://lifecycle.r-lib.org/articles/stages.html )
1010[ ![ Codecov test
11- coverage] ( https://codecov.io/gh/tidymodels/multilevelmod/branch/main/ graph/badge.svg )] ( https://app.codecov.io/gh/tidymodels/multilevelmod?branch=main )
11+ coverage] ( https://codecov.io/gh/tidymodels/multilevelmod/graph/badge.svg )] ( https://app.codecov.io/gh/tidymodels/multilevelmod )
1212[ ![ R-CMD-check] ( https://github.com/tidymodels/multilevelmod/actions/workflows/R-CMD-check.yaml/badge.svg )] ( https://github.com/tidymodels/multilevelmod/actions/workflows/R-CMD-check.yaml )
1313<!-- badges: end -->
1414
You can’t perform that action at this time.
0 commit comments