-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 1 KB
/
rhub-donttest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: rhub (donttest)
on:
workflow_run:
workflows: [ "Source Code" ]
types:
- completed
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
strategy:
fail-fast: false
matrix:
container:
- name: donttest
image: ghcr.io/r-hub/containers/donttest:latest
name: ${{ matrix.container.name }}
container:
image: ${{ matrix.container.image }}
steps:
- name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
- name: Install dependencies
run: |
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
- name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'