This commit is contained in:
Elio Bischof
2024-11-27 13:04:21 +01:00
parent def3174f74
commit e12d3c7015

View File

@@ -28,7 +28,7 @@ on:
jobs: jobs:
matrix: matrix:
# If the workflow is triggered by a schedule event, only the acceptance tests run against QA and Prod. # If the workflow is triggered by a schedule event, only the acceptance tests run against QA and Prod.
name: Prepare Matrix name: Preparte Matrix
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
matrix: ${{ steps.prepare-matrix.outputs.matrix }} matrix: ${{ steps.prepare-matrix.outputs.matrix }}
@@ -46,7 +46,7 @@ jobs:
echo 'matrix=["format --check", "lint", "test:unit", "test:integration", "test:acceptance"]' >> $GITHUB_OUTPUT echo 'matrix=["format --check", "lint", "test:unit", "test:integration", "test:acceptance"]' >> $GITHUB_OUTPUT
fi fi
- name: Show Matrix - name: Show Matrix
run: echo '${{ steps.prepare-matrix.outputs.matrix }}' | jq run: echo ${{ steps.prepare-matrix.outputs.matrix }} | jq
quality: quality:
name: Ensure Quality name: Ensure Quality
@@ -61,7 +61,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
command: ${{ fromJson( needs.prepare-matrix.outputs.matrix ) }} command: "${{ fromJson( needs.prepare-matrix.outputs.matrix ) }}"
steps: steps:
- name: Checkout Repo - name: Checkout Repo