mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-13 21:40:45 +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
|
required: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare-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: Matrix
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.prepare-matrix.outputs.matrix }}
|
matrix: ${{ steps.matrix.outputs.matrix }}
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare Matrix
|
- name: Matrix
|
||||||
id: prepare-matrix
|
id: matrix
|
||||||
run: |
|
run: |
|
||||||
if [ -z "${{ github.event.schedule }}" ]; then
|
if [ -z "${{ github.event.schedule }}" ]; then
|
||||||
echo 'matrix=["test:acceptance:qa", "test:acceptance:prod"]' >> $GITHUB_OUTPUT
|
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
|
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 }}'
|
run: echo '${{ steps.matrix.outputs.matrix }}'
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
name: Debug matrix
|
name: Debug matrix
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Debug matrix
|
- name: Debug matrix
|
||||||
run: echo ${{ needs.prepare-matrix.outputs.matrix }}
|
run: echo ${{ needs.matrix.outputs.matrix }}
|
||||||
- name: Debug fromJson
|
- name: Debug fromJson
|
||||||
run: echo ${{ fromJson(needs.prepare-matrix.outputs.matrix) }}
|
run: echo ${{ fromJson(needs.matrix.outputs.matrix) }}
|
||||||
|
|
||||||
|
|
||||||
quality:
|
quality:
|
||||||
@@ -71,7 +71,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
command: ${{ fromJson( needs.prepare-matrix.outputs.matrix ) }}
|
command: ${{ fromJson( needs.matrix.outputs.matrix ) }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
|
|||||||
Reference in New Issue
Block a user