Skip to content

Commit

Permalink
workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
mb706 committed Jan 14, 2024
1 parent 1b80884 commit c03cbac
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/r-cmd-check-paradox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
# https://github.com/mlr-org/actions
on:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled'
required: false
default: false
push:
branches:
- main
Expand All @@ -11,6 +17,9 @@ on:

name: r-cmd-check-paradox

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

jobs:
r-cmd-check:
runs-on: ${{ matrix.config.os }}
Expand All @@ -33,6 +42,8 @@ jobs:
- name: paradox
run: 'echo -e "Remotes:\n mlr-org/paradox@s3_params" >> DESCRIPTION'

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

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
Expand All @@ -41,4 +52,14 @@ jobs:
with:
extra-packages: any::rcmdcheck
needs: check
- uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
with:
limit-access-to-actor: true

- name: Install XMeans
run: |
RWeka::WPM("refresh-cache")
RWeka::WPM("install-package", "XMeans")
shell: Rscript {0}
- uses: r-lib/actions/check-r-package@v2

0 comments on commit c03cbac

Please sign in to comment.