From fe5cd324b68bf44329a79c5e9862ae69ad338e3a Mon Sep 17 00:00:00 2001 From: Alex Axthelm Date: Mon, 10 Jun 2024 15:36:48 +0200 Subject: [PATCH] test(package): #567 add RMI actions Closes: #567 --- .github/workflows/R.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/R.yml diff --git a/.github/workflows/R.yml b/.github/workflows/R.yml new file mode 100644 index 00000000..52df7557 --- /dev/null +++ b/.github/workflows/R.yml @@ -0,0 +1,33 @@ +--- +# This example file will enable R language checks on push or PR to the main +# branch. +# It will also run the checks every weeknight at midnight UTC +# +# Note the @main in `uses:` on the last line. This will call the latest version +# of the workflow from the `main` brnach in the RMI-PACTA/actions repo. You can +# also specify a tag from that repo, or a commit SHA to pin action versions. +on: + pull_request: + push: + branches: [main] + schedule: + - cron: '0 0 * * 1,2,3,4,5' + workflow_dispatch: + +name: R + +jobs: + R-package: + name: R Package Checks + uses: RMI-PACTA/actions/.github/workflows/R.yml@main + + dev-r-cmd-check: + name: R CMD Check (dev versions) + uses: RMI-PACTA/actions/.github/workflows/R-CMD-check.yml@main + with: + upgrade-packages: 'TRUE' + cache-version: 'dev' + remotes: | + RMI-PACTA/r2dii.analysis + RMI-PACTA/r2dii.data + RMI-PACTA/r2dii.match