Skip to content

Rework CI to use workflow_call jobs #313

Rework CI to use workflow_call jobs

Rework CI to use workflow_call jobs #313

name: pull-request-commit
on:
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
pyver: ['3.9', '3.10']
os: ['ubuntu-latest', 'windows-latest']
uses: ./.github/workflows/workflow-build.yml

Check failure on line 12 in .github/workflows/pull-request-commit.yml

View workflow run for this annotation

GitHub Actions / pull-request-commit

Invalid workflow file

The workflow is not valid. In .github/workflows/pull-request-commit.yml (Line: 12, Col: 13): Error from called workflow dgbowl/yadg/.github/workflows/workflow-build.yml@4b0faf0a6534e52754b33102aff2865e347d5527 (Line: 15, Col: 18): Unrecognized named-value: 'os'. Located at position 1 within expression: os In .github/workflows/pull-request-commit.yml (Line: 12, Col: 13): Error from called workflow dgbowl/yadg/.github/workflows/workflow-build.yml@4b0faf0a6534e52754b33102aff2865e347d5527 (Line: 22, Col: 33): Unrecognized named-value: 'pyver'. Located at position 1 within expression: pyver
with:
pyver: ${{ matrix.pyver }}
os: ${{ matrix.os }}
test:
needs: [build]
strategy:
matrix:
pyver: ['3.9', '3.10']
os: ['ubuntu-latest', 'windows-latest']
uses: ./.github/workflows/workflow-test.yml
with:
pyver: ${{ matrix.pyver }}
os: ${{ matrix.os }}
pages:
needs: [build]
uses: ./.github/workflows/workflow-pages.yml
with:
pyver: '3.9'
os: ubuntu-latest