Skip to content

Reusable action workflows #5519

Reusable action workflows

Reusable action workflows #5519

Workflow file for this run

name: CI
on:
push:
branches:
- master
- develop
tags:
- '*'
pull_request:
merge_group:
issue_comment:
types:
- created
env:
R_LIBS_USER: /usr/local/lib/R/site-library
LC_ALL: en_US.UTF-8
NCPUS: 2
PGHOST: postgres
CI: true
jobs:
test:
if: github.event_name != 'issue_comment' || startsWith(github.event.comment.body, '/build')
strategy:
fail-fast: false
matrix:
R:
- "4.2"
- "4.1"
uses: ./.github/workflows/test.yml
with:
R-version: ${{ matrix.R }}
secrets: inherit
check:
if: github.event_name != 'issue_comment' || startsWith(github.event.comment.body, '/build')
strategy:
fail-fast: false
matrix:
package: [check_base, check_modules, check_models]
R:
- "4.2"
- "4.1"
uses: ./.github/workflows/check.yml

Check failure on line 50 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

error parsing called workflow ".github/workflows/ci.yml" -> "./.github/workflows/check.yml" : secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
with:
R-version: ${{ matrix.R }}
make-grouping: ${{ matrix.package }}
secrets: inherit
sipnet:
if: github.event_name != 'issue_comment' || startsWith(github.event.comment.body, '/build')
strategy:
fail-fast: false
matrix:
R:
- "4.2"
- "4.1"
uses: ./.github/workflows/sipnet.yml
with:
R-version: ${{ matrix.R }}
secrets: inherit