Skip to content

Commit b8703dc

Browse files
authored
test with new paradox (#73)
* test with new paradox * install required pandoc in paradox check * different kind of check
1 parent 96e079a commit b8703dc

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# dev 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: dev-check
13+
14+
jobs:
15+
check-package:
16+
runs-on: ${{ matrix.config.os }}
17+
18+
name: ${{ matrix.config.dev-package }}
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', dev-package: 'mlr-org/mlr3'}
28+
- {os: ubuntu-latest, r: 'release', dev-package: "mlr-org/paradox, 'mlr-org/mlr3learners', 'mlr-org/mlr3pipelines"}
29+
30+
steps:
31+
- uses: actions/checkout@v3
32+
33+
- uses: r-lib/actions/setup-pandoc@v2
34+
35+
- uses: r-lib/actions/setup-r@v2
36+
with:
37+
r-version: ${{ matrix.config.r }}
38+
39+
- uses: r-lib/actions/setup-r-dependencies@v2
40+
with:
41+
extra-packages: any::rcmdcheck
42+
needs: check
43+
44+
- name: Install dev versions
45+
run: pak::pkg_install(c('${{ matrix.config.dev-package }}'))
46+
shell: Rscript {0}
47+
48+
- uses: r-lib/actions/check-r-package@v2

0 commit comments

Comments
 (0)