File tree Expand file tree Collapse file tree 7 files changed +129
-73
lines changed
Expand file tree Collapse file tree 7 files changed +129
-73
lines changed Original file line number Diff line number Diff line change 2222^cspell.json$
2323^CONTRIBUTING.md$
2424^cran-comments\.md$
25+ ^data-raw$
2526^CRAN-SUBMISSION$
2627^docs$
2728^inst/extdata/.+\.R$
Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ # R CMD check workflow without suggested packages v0.4.0
2+ # Without `cache: false` packages can leak from the cache of the previous workflow runs
3+ # You can remove the `services.redis` section if the package does not require `rush` for the tests
4+ # https://github.com/mlr-org/actions
5+ on :
6+ workflow_dispatch :
7+ inputs :
8+ debug_enabled :
9+ type : boolean
10+ description : ' Run the build with tmate debugging enabled'
11+ required : false
12+ default : false
13+ push :
14+ branches :
15+ - main
16+ pull_request :
17+ branches :
18+ - main
19+
20+ name : no-suggest-cmd-check
21+
22+ jobs :
23+ no-suggest-cmd-check :
24+ runs-on : ${{ matrix.config.os }}
25+ services :
26+ redis :
27+ image : redis
28+ options : >-
29+ --health-cmd "redis-cli ping"
30+ --health-interval 10s
31+ --health-timeout 5s
32+ --health-retries 5
33+ ports :
34+ - 6379:6379
35+
36+ name : ${{ matrix.config.os }} (${{ matrix.config.r }})
37+
38+ env :
39+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
40+ RUSH_TEST_USE_REDIS : true
41+
42+ strategy :
43+ fail-fast : false
44+ matrix :
45+ config :
46+ - {os: ubuntu-latest, r: 'release'}
47+
48+ steps :
49+ - uses : actions/checkout@v6
50+
51+ - uses : r-lib/actions/setup-pandoc@v2
52+
53+ - uses : r-lib/actions/setup-r@v2
54+ with :
55+ r-version : ${{ matrix.config.r }}
56+
57+ - uses : r-lib/actions/setup-r-dependencies@v2
58+ with :
59+ extra-packages : |
60+ any::rcmdcheck
61+ any::testthat
62+ any::knitr
63+ any::rmarkdown
64+ needs : check
65+ dependencies : ' "hard"'
66+ cache : false
67+
68+ - uses : mxschmitt/action-tmate@v3
69+ if : ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
70+ with :
71+ limit-access-to-actor : true
72+
73+ - uses : r-lib/actions/check-r-package@v2
74+ with :
75+ args : ' c("--no-manual", "--as-cran")'
Original file line number Diff line number Diff line change 1- # pkgdown workflow of the mlr3 ecosystem v0.1.0
1+ # pkgdown workflow of the mlr3 ecosystem v0.2.0
2+ # You can remove the `services.redis` section if the package does not require `rush` for the tests
23# https://github.com/mlr-org/actions
34on :
45 push :
@@ -17,13 +18,26 @@ name: pkgdown
1718jobs :
1819 pkgdown :
1920 runs-on : ubuntu-latest
21+ services :
22+ redis :
23+ image : redis
24+ options : >-
25+ --health-cmd "redis-cli ping"
26+ --health-interval 10s
27+ --health-timeout 5s
28+ --health-retries 5
29+ ports :
30+ - 6379:6379
31+
2032
2133 concurrency :
2234 group : pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
35+
2336 env :
2437 GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
38+
2539 steps :
26- - uses : actions/checkout@v3
40+ - uses : actions/checkout@v6
2741
2842 - uses : r-lib/actions/setup-pandoc@v2
2943
4458
4559 - name : Deploy
4660 if : github.event_name != 'pull_request'
47- uses : JamesIves/github-pages-deploy-action@v4.4.1
61+ uses : JamesIves/github-pages-deploy-action@v4.8.0
4862 with :
4963 clean : false
5064 branch : gh-pages
Original file line number Diff line number Diff line change 1- # r cmd check workflow of the mlr3 ecosystem v0.1.0
1+ # r cmd check workflow of the mlr3 ecosystem v0.6.0
2+ # You can remove the `services.redis` section if the package does not require `rush` for the tests
23# https://github.com/mlr-org/actions
34on :
45 workflow_dispatch :
6+ inputs :
7+ debug_enabled :
8+ type : boolean
9+ description : ' Run the build with tmate debugging enabled'
10+ required : false
11+ default : false
512 push :
613 branches :
714 - main
@@ -14,11 +21,22 @@ name: r-cmd-check
1421jobs :
1522 r-cmd-check :
1623 runs-on : ${{ matrix.config.os }}
24+ services :
25+ redis :
26+ image : redis
27+ options : >-
28+ --health-cmd "redis-cli ping"
29+ --health-interval 10s
30+ --health-timeout 5s
31+ --health-retries 5
32+ ports :
33+ - 6379:6379
1734
1835 name : ${{ matrix.config.os }} (${{ matrix.config.r }})
1936
2037 env :
2138 GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
39+ RUSH_TEST_USE_REDIS : true
2240
2341 strategy :
2442 fail-fast : false
2846 - {os: ubuntu-latest, r: 'release'}
2947
3048 steps :
31- - uses : actions/checkout@v3
49+ - uses : actions/checkout@v6
50+
51+ - uses : r-lib/actions/setup-pandoc@v2
3252
3353 - uses : r-lib/actions/setup-r@v2
3454 with :
3959 extra-packages : any::rcmdcheck
4060 needs : check
4161
62+ - uses : mxschmitt/action-tmate@v3
63+ if : ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
64+ with :
65+ limit-access-to-actor : true
66+
4267 - uses : r-lib/actions/check-r-package@v2
68+ with :
69+ error-on : ' "note"'
70+ args : ' c("--no-manual", "--as-cran")'
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments