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- # r cmd check workflow without suggests of the mlr3 ecosystem v0.3.1
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
24# https://github.com/mlr-org/actions
35on :
46 workflow_dispatch :
@@ -20,11 +22,22 @@ name: no-suggest-cmd-check
2022jobs :
2123 no-suggest-cmd-check :
2224 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
2335
2436 name : ${{ matrix.config.os }} (${{ matrix.config.r }})
2537
2638 env :
2739 GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
40+ RUSH_TEST_USE_REDIS : true
2841
2942 strategy :
3043 fail-fast : false
3346 - {os: ubuntu-latest, r: 'release'}
3447
3548 steps :
36- - uses : actions/checkout@v5
49+ - uses : actions/checkout@v6
3750
3851 - uses : r-lib/actions/setup-pandoc@v2
3952
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,19 +18,30 @@ 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
3044 - uses : r-lib/actions/setup-r@v2
31- with :
32- extra-repositories : ' https://mlr-org.r-universe.dev'
3345
3446 - uses : r-lib/actions/setup-r-dependencies@v2
3547 with :
4658
4759 - name : Deploy
4860 if : github.event_name != 'pull_request'
49- uses : JamesIves/github-pages-deploy-action@v4.4.1
61+ uses : JamesIves/github-pages-deploy-action@v4.8.0
5062 with :
5163 clean : false
5264 branch : gh-pages
Original file line number Diff line number Diff line change 1- # r cmd check workflow of the mlr3 ecosystem v0.5.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
3- # added extra-repositories: 'https://mlr-org.r-universe.dev'
44on :
55 workflow_dispatch :
66 inputs :
@@ -21,11 +21,22 @@ name: r-cmd-check
2121jobs :
2222 r-cmd-check :
2323 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
2434
2535 name : ${{ matrix.config.os }} (${{ matrix.config.r }})
2636
2737 env :
2838 GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
39+ RUSH_TEST_USE_REDIS : true
2940
3041 strategy :
3142 fail-fast : false
@@ -35,14 +46,13 @@ jobs:
3546 - {os: ubuntu-latest, r: 'release'}
3647
3748 steps :
38- - uses : actions/checkout@v3
49+ - uses : actions/checkout@v6
3950
4051 - uses : r-lib/actions/setup-pandoc@v2
4152
4253 - uses : r-lib/actions/setup-r@v2
4354 with :
4455 r-version : ${{ matrix.config.r }}
45- extra-repositories : ' https://mlr-org.r-universe.dev'
4656
4757 - uses : r-lib/actions/setup-r-dependencies@v2
4858 with :
5868 with :
5969 error-on : ' "note"'
6070 args : ' c("--no-manual", "--as-cran")'
61-
62-
You can’t perform that action at this time.
0 commit comments