Skip to content

Commit

Permalink
Adding some tests based on rhub containers
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Oct 9, 2024
1 parent 76e06b9 commit 6dbc24c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/RHUB-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
push:
pull_request:

name: RHUB-check

jobs:
R-CMD-check:
runs-on: ubuntu-latest
name: r-hub2/${{ matrix.container }}
container: ghcr.io/r-hub/containers/${{ matrix.container }}:latest
strategy:
fail-fast: false
matrix:
container: [ 'clang16', 'clang18', 'clang20', 'ubuntu-clang' ]

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
DOWNLOAD_STATIC_LIBV8: true

steps:
- uses: actions/checkout@v4

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

- 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 6dbc24c

Please sign in to comment.