Skip to content

Commit

Permalink
dev cmd check with paradox master
Browse files Browse the repository at this point in the history
  • Loading branch information
mb706 committed Feb 28, 2024
1 parent f90f48d commit cc3ff4f
Showing 1 changed file with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# r cmd check workflow of the mlr3 ecosystem v0.1.0
# Workflow sets WEKA_HOME and installs XMeans
# r cmd check workflow of the mlr3 ecosystem v0.3.1
# https://github.com/mlr-org/actions
on:
workflow_dispatch:
Expand All @@ -15,16 +16,16 @@ on:
branches:
- main

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

env:
WEKA_HOME: /home/runner/work/mlr3cluster

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 @@ -33,14 +34,10 @@ 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/paradox'}

steps:
- uses: actions/checkout@v3

- name: paradox
run: 'echo -e "Remotes:\n mlr-org/paradox@s3_params" >> DESCRIPTION'
- uses: actions/checkout@v4

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

Expand All @@ -52,6 +49,7 @@ jobs:
with:
extra-packages: any::rcmdcheck
needs: check

- uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
with:
Expand All @@ -62,4 +60,9 @@ jobs:
RWeka::WPM("refresh-cache")
RWeka::WPM("install-package", "XMeans")
shell: Rscript {0}

- 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 cc3ff4f

Please sign in to comment.