File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # dev cmd check workflow of the mlr3 ecosystem v0.3.1
1+ # dev cmd check workflow of the mlr3 ecosystem v0.4.0
22# https://github.com/mlr-org/actions
3+ # modified to use supercharge/redis-github-action@1.7.0
34on :
45 workflow_dispatch :
56 inputs :
3233 config :
3334 - {os: ubuntu-latest, r: 'release', dev-package: 'mlr-org/bbotk'}
3435 - {os: ubuntu-latest, r: 'release', dev-package: 'mlr-org/mlr3'}
36+ - {os: ubuntu-latest, r: 'release', dev-package: 'mlr-org/mlr3misc'}
3537
3638 steps :
3739 - uses : actions/checkout@v3
@@ -50,11 +52,12 @@ jobs:
5052 with :
5153 extra-packages : any::rcmdcheck
5254 needs : check
55+ error-on : ' "note"'
5356
5457 - name : Install dev versions
55- run : pak::pkg_install(c( '${{ matrix.config.dev-package }}') )
58+ run : pak::pkg_install('${{ matrix.config.dev-package }}')
5659 shell : Rscript {0}
57-
60+
5861 - uses : mxschmitt/action-tmate@v3
5962 if : ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
6063 with :
Original file line number Diff line number Diff line change 1+ # r cmd check workflow without suggests of the mlr3 ecosystem v0.1.0
2+ # https://github.com/mlr-org/actions
3+ # modified to use supercharge/redis-github-action@1.7.0
4+ on :
5+ 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
12+ push :
13+ branches :
14+ - main
15+ pull_request :
16+ branches :
17+ - main
18+
19+ name : no-suggest-cmd-check
20+
21+ jobs :
22+ no-suggest-cmd-check :
23+ runs-on : ${{ matrix.config.os }}
24+
25+ name : ${{ matrix.config.os }} (${{ matrix.config.r }})
26+
27+ env :
28+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
29+
30+ strategy :
31+ fail-fast : false
32+ matrix :
33+ config :
34+ - {os: ubuntu-latest, r: 'release'}
35+
36+ steps :
37+ - uses : actions/checkout@v3
38+
39+ - uses : r-lib/actions/setup-pandoc@v2
40+
41+ - uses : r-lib/actions/setup-r@v2
42+ with :
43+ r-version : ${{ matrix.config.r }}
44+
45+ - uses : supercharge/redis-github-action@1.7.0
46+ with :
47+ redis-version : 7
48+
49+ - uses : r-lib/actions/setup-r-dependencies@v2
50+ with :
51+ extra-packages : any::rcmdcheck
52+ needs : check
53+ error-on : ' "note"'
54+ dependencies : ' "hard"'
55+
56+ - uses : mxschmitt/action-tmate@v3
57+ if : ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
58+ with :
59+ limit-access-to-actor : true
60+
61+ - uses : r-lib/actions/check-r-package@v2
62+ with :
63+ args : ' c("--no-manual", "--as-cran")'
Original file line number Diff line number Diff line change 1- # r cmd check workflow of the mlr3 ecosystem v0.3.1
1+ # r cmd check workflow of the mlr3 ecosystem v0.4.0
22# https://github.com/mlr-org/actions
3+ # modified to use supercharge/redis-github-action@1.7.0
34on :
45 workflow_dispatch :
56 inputs :
5051 with :
5152 extra-packages : any::rcmdcheck
5253 needs : check
54+ error-on : ' "note"'
5355
5456 - uses : mxschmitt/action-tmate@v3
5557 if : ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
5961 - uses : r-lib/actions/check-r-package@v2
6062 with :
6163 args : ' c("--no-manual", "--as-cran")'
62-
You can’t perform that action at this time.
0 commit comments