Skip to content

Commit

Permalink
check with new paradox
Browse files Browse the repository at this point in the history
  • Loading branch information
mb706 committed Jan 14, 2024
1 parent 8ac638b commit 9337150
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/r-cmd-check-paradox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# r cmd check workflow of the mlr3 ecosystem v0.1.0
# https://github.com/mlr-org/actions
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main

name: r-cmd-check-paradox

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

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

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

strategy:
fail-fast: false
matrix:
config:
- {os: ubuntu-latest, r: 'devel'}
- {os: ubuntu-latest, r: 'release'}

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,\n mlr-org/mlr3oml@s3params_compat" >> DESCRIPTION'

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- uses: r-lib/actions/check-r-package@v2

0 comments on commit 9337150

Please sign in to comment.