Skip to content

Commit 29152e9

Browse files
committed
Merge branch 'main' of github.com:mlr-org/mlr3mbo
2 parents 4d780d1 + 7228488 commit 29152e9

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# r cmd check workflow of the mlr3 ecosystem v0.2.0
2+
# https://github.com/mlr-org/actions
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
12+
name: no-suggest-cmd-check
13+
14+
jobs:
15+
r-cmd-check:
16+
runs-on: ${{ matrix.config.os }}
17+
18+
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
19+
20+
env:
21+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
22+
23+
strategy:
24+
fail-fast: false
25+
matrix:
26+
config:
27+
- {os: ubuntu-latest, r: 'release'}
28+
29+
steps:
30+
- uses: actions/checkout@v3
31+
32+
- uses: r-lib/actions/setup-pandoc@v2
33+
34+
- uses: r-lib/actions/setup-r@v2
35+
with:
36+
r-version: ${{ matrix.config.r }}
37+
38+
- uses: supercharge/redis-github-action@1.7.0
39+
with:
40+
redis-version: 7
41+
42+
- uses: r-lib/actions/setup-r-dependencies@v2
43+
with:
44+
extra-packages: any::rcmdcheck
45+
needs: check
46+
dependencies: '"hard"'
47+
48+
- uses: r-lib/actions/check-r-package@v2
49+
with:
50+
args: 'c("--no-manual")' # "--as-cran" prevents to start external processes

0 commit comments

Comments
 (0)