Skip to content

Commit

Permalink
use kalibera/rchk:latest
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Apr 10, 2024
1 parent c26cdc3 commit 3f4deeb
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/rchk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,19 @@ name: rchk
jobs:
rchk:
runs-on: ubuntu-latest
container:
image: rhub/ubuntu-rchk
options: --user=root
steps:

- uses: actions/checkout@v4
- uses: r-lib/actions/run-rchk@v2

- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-r-dependencies@v2
- run: R CMD build .

- run: docker pull kalibera/rchk:latest
- run: |
mkdir -p rchk/packages
mv reticulate_*.tar.gz rchk/packages/
cd rchk/packages
pkgtar=$(ls reticulate_*.tar.gz)
docker run -v `pwd`/packages:/rchk/packages kalibera/rchk:latest /rchk/packages/$pkgtar

0 comments on commit 3f4deeb

Please sign in to comment.