Skip to content

Commit

Permalink
different kind of check
Browse files Browse the repository at this point in the history
  • Loading branch information
mb706 committed Feb 28, 2024
1 parent cc1dc2d commit 4ac0d51
Showing 1 changed file with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# r cmd check workflow of the mlr3 ecosystem v0.1.0
# dev cmd check workflow of the mlr3 ecosystem v0.2.0
# https://github.com/mlr-org/actions
on:
workflow_dispatch:
Expand All @@ -9,13 +9,13 @@ on:
branches:
- main

name: r-cmd-check-paradox
name: dev-check

jobs:
r-cmd-check:
check-package:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})
name: ${{ matrix.config.dev-package }}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -24,15 +24,12 @@ jobs:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest, r: 'devel'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'release', dev-package: 'mlr-org/mlr3'}
- {os: ubuntu-latest, r: 'release', dev-package: "mlr-org/paradox, 'mlr-org/mlr3learners', 'mlr-org/mlr3pipelines"}

steps:
- uses: actions/checkout@v3

- name: paradox
run: 'echo -e "Remotes:\n mlr-org/paradox@s3_params,\n mlr-org/mlr3learners@s3params_compat,\n mlr-org/mlr3pipelines@s3params_compat" >> DESCRIPTION'

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
Expand All @@ -43,4 +40,9 @@ jobs:
with:
extra-packages: any::rcmdcheck
needs: check

- name: Install dev versions
run: pak::pkg_install(c('${{ matrix.config.dev-package }}'))
shell: Rscript {0}

- uses: r-lib/actions/check-r-package@v2

0 comments on commit 4ac0d51

Please sign in to comment.