Skip to content

Commit 5d07ffd

Browse files
authored
Merge pull request #161 from mlr-org/s3params_compat
compatibility with new paradox
2 parents 4505e76 + dc37b2e commit 5d07ffd

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/dev-cmd-check.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# dev cmd check workflow of the mlr3 ecosystem v0.1.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/paradox', 'mlr-org/mlr3learners', 'mlr-org/mlr3pipelines"}
28+
29+
steps:
30+
- uses: actions/checkout@v3
31+
32+
- uses: r-lib/actions/setup-r@v2
33+
with:
34+
r-version: ${{ matrix.config.r }}
35+
36+
- uses: r-lib/actions/setup-r-dependencies@v2
37+
with:
38+
extra-packages: any::rcmdcheck
39+
needs: check
40+
41+
- name: Install dev versions
42+
run: pak::pkg_install(c('${{ matrix.config.dev-package }}'))
43+
shell: Rscript {0}
44+
45+
- uses: r-lib/actions/check-r-package@v2

0 commit comments

Comments
 (0)