mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 02:02:23 +00:00
json
This commit is contained in:
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@@ -37,13 +37,13 @@ jobs:
|
||||
id: prepare-matrix
|
||||
run: |
|
||||
if [ -z "${{ github.event.schedule }}" ]; then
|
||||
echo "matrix=$(echo '[\"test:acceptance:qa\", \"test:acceptance:prod\"]' | jq -R .)" >> $GITHUB_OUTPUT
|
||||
elif [ -z "${{ github.event.inputs.zitadel-env }}" ]; then
|
||||
echo "matrix=$(echo '[\"test:acceptance:${{ github.event.inputs.zitadel-env }}\"]' | jq -R .)" >> $GITHUB_OUTPUT
|
||||
elif [ -z "${{ github.event.inputs.zitadel-api-url }}" ]; then
|
||||
echo "matrix=$(echo '[\"test:acceptance:custom\"]' | jq -R .)" >> $GITHUB_OUTPUT
|
||||
echo 'matrix=["test:acceptance:qa", "test:acceptance:prod"]' >> $GITHUB_OUTPUT
|
||||
elif [ -n "${{ github.event.inputs.zitadel-env }}" ]; then
|
||||
echo "matrix=[\"test:acceptance:${{ github.event.inputs.zitadel-env }}\"]" >> $GITHUB_OUTPUT
|
||||
elif [ -n "${{ github.event.inputs.zitadel-api-url }}" ]; then
|
||||
echo 'matrix=["test:acceptance:custom"]' >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "matrix=$(echo '[\"format --check\", \"lint\", \"test:unit\", \"test:integration\", \"test:acceptance\"]' | jq -R .)" >> $GITHUB_OUTPUT
|
||||
echo 'matrix=["format --check", "lint", "test:unit", "test:integration", "test:acceptance"]' >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
quality:
|
||||
|
||||
Reference in New Issue
Block a user