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