Skip to content

split workflows to be called individually or as a matrix #1

split workflows to be called individually or as a matrix

split workflows to be called individually or as a matrix #1

name: BlackBox
on:
workflow_call:
inputs:
scenarii:
type: number
default: 100
required: false
jobs:
blackbox:
uses: .github/workflows/black-box.yml

Check failure on line 13 in .github/workflows/black-box-matrix.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/black-box-matrix.yml

Invalid workflow file

invalid value workflow reference: no version specified
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
php-version: ['8.2', '8.3']
dependency-versions: ['lowest', 'highest']
name: 'BlackBox'
with:
os: ${{ matrix.os }}
php-version: ${{ matrix.php-version }}
dependency-versions: ${{ matrix.dependency-versions }}
scenarii: ${{ inputs.scenarii }}