Skip to content

Merge pull request #210 from jeroenjanssens/supported-by-posit #9

Merge pull request #210 from jeroenjanssens/supported-by-posit

Merge pull request #210 from jeroenjanssens/supported-by-posit #9

Workflow file for this run

on:

Check failure on line 1 in .github/workflows/rhel.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/rhel.yaml

Invalid workflow file

(Line: 16, Col: 45): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.REDHAT_ACTIVATION_KEY_RHEL7, (Line: 17, Col: 45): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.REDHAT_ACTIVATION_KEY_RHEL8
workflow_dispatch:
name: rhel.yaml
permissions: read-all
jobs:
rhel:
runs-on: ubuntu-latest
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- { os: rhel7, r: 'release', key: '${{ secrets.REDHAT_ACTIVATION_KEY_RHEL7 }}' }
- { os: rhel8, r: 'release', key: '${{ secrets.REDHAT_ACTIVATION_KEY_RHEL8 }}' }
container:
image: ghcr.io/r-hub/containers/${{ matrix.config.os }}:latest
steps:
- uses: actions/checkout@v4
- name: Register
run: |
subscription-manager register \
--org ${{ secrets.REDHAT_ORG }} \
--activationkey ${{ matrix.config.key }}
shell: bash
- name: Install R
run: |
rig add ${{ matrix.config.r }}
shell: bash
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- uses: r-lib/actions/check-r-package@v2
with:
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
env:
NOT_CRAN: true
- name: Unregister
if: always()
run: |
subscription-manager unregister || true