diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 921e84d6942..802d10bb2e2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,15 +26,15 @@ on: required: false jobs: - prepare-matrix: + matrix: # If the workflow is triggered by a schedule event, only the acceptance tests run against QA and Prod. - name: Prepare Matrix + name: Matrix runs-on: ubuntu-latest outputs: - matrix: ${{ steps.prepare-matrix.outputs.matrix }} + matrix: ${{ steps.matrix.outputs.matrix }} steps: - - name: Prepare Matrix - id: prepare-matrix + - name: Matrix + id: matrix run: | if [ -z "${{ github.event.schedule }}" ]; then echo 'matrix=["test:acceptance:qa", "test:acceptance:prod"]' >> $GITHUB_OUTPUT @@ -46,16 +46,16 @@ jobs: echo 'matrix=["format --check", "lint", "test:unit", "test:integration", "test:acceptance"]' >> $GITHUB_OUTPUT fi - name: Show Matrix - run: echo '${{ steps.prepare-matrix.outputs.matrix }}' + run: echo '${{ steps.matrix.outputs.matrix }}' debug: name: Debug matrix runs-on: ubuntu-latest steps: - name: Debug matrix - run: echo ${{ needs.prepare-matrix.outputs.matrix }} + run: echo ${{ needs.matrix.outputs.matrix }} - name: Debug fromJson - run: echo ${{ fromJson(needs.prepare-matrix.outputs.matrix) }} + run: echo ${{ fromJson(needs.matrix.outputs.matrix) }} quality: @@ -71,7 +71,7 @@ jobs: strategy: fail-fast: false matrix: - command: ${{ fromJson( needs.prepare-matrix.outputs.matrix ) }} + command: ${{ fromJson( needs.matrix.outputs.matrix ) }} steps: - name: Checkout Repo