This commit is contained in:
Elio Bischof
2024-11-27 12:48:59 +01:00
parent c95f5cddbc
commit f39e97288c

View File

@@ -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