Skip to content

Merge pull request #123 from ThinkR-open/dev-again #160

Merge pull request #123 from ThinkR-open/dev-again

Merge pull request #123 from ThinkR-open/dev-again #160

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
concurrency: ${{ matrix.config.projectname }}
strategy:
fail-fast: false
matrix:
config:
- {os: windows-latest, r: 'release', projectname: 'testor.windows', projectid: '28486358', comcommit: '70483113b32861ce530e1abda134aac01eb477d0'}
- {os: macos-latest, r: 'release', projectname: 'testor.macos', projectid: '28486346', comcommit: '5c89090396cfe86be83929d965539d84c36f404d'}
- {os: ubuntu-latest, r: 'release', projectname: 'testor.release', projectid: '28486371', comcommit: '5685f84b1de6c286a110b111f91c4f0f417dc7e9'}
- {os: ubuntu-latest, r: 'release', projectname: 'testor.release.master', projectid: '28486387', comcommit: '1a8953eb95d447c41b105328700e039f61377c31'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release', projectname: 'testor.devel', projectid: '28486382', comcommit: 'aec38cab2330ce35e4f2bc682475bccc6d94c488'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
GITLABR_TEST_LOGIN: ${{ secrets.GITLABR_TEST_LOGIN }}
GITLABR_TEST_LOGIN_ID: ${{ secrets.GITLABR_TEST_LOGIN_ID }}
GITLABR_TEST_PASSWORD: ${{ secrets.GITLABR_TEST_PASSWORD }}
GITLABR_TEST_TOKEN: ${{ secrets.GITLABR_TEST_TOKEN }}
GITLABR_TEST_URL: ${{ secrets.GITLABR_TEST_URL }}
GITLABR_TEST_PROJECT_ID: ${{ matrix.config.projectid }}
GITLABR_TEST_PROJECT_NAME: ${{ matrix.config.projectname }}
COMMENTED_COMMIT: ${{ matrix.config.comcommit }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true