mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-11 20:52:43 +00:00
no dashes
This commit is contained in:
18
.github/workflows/test.yml
vendored
18
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user