From 0685e92bade9c2e88c05f2cf0aca8013408eac40 Mon Sep 17 00:00:00 2001 From: Cian Hatton Date: Fri, 16 Dec 2022 10:06:46 +0000 Subject: [PATCH 1/2] chore: skip e2e if test matrix does not exist --- .github/workflows/e2e-compatibility-workflow-call.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/e2e-compatibility-workflow-call.yaml b/.github/workflows/e2e-compatibility-workflow-call.yaml index 3e438ac0026..d7ff90905dd 100644 --- a/.github/workflows/e2e-compatibility-workflow-call.yaml +++ b/.github/workflows/e2e-compatibility-workflow-call.yaml @@ -32,6 +32,7 @@ jobs: e2e: runs-on: ubuntu-latest needs: load-test-matrix + if: needs.load-test-matrix.outputs.test-matrix != "" strategy: fail-fast: false matrix: ${{ fromJSON(needs.load-test-matrix.outputs.test-matrix) }} From 4ac84ca47d4fc8224f8e7f9b06195d8380eebd2c Mon Sep 17 00:00:00 2001 From: Cian Hatton Date: Fri, 16 Dec 2022 10:09:17 +0000 Subject: [PATCH 2/2] chore: fix syntax --- .github/workflows/e2e-compatibility-workflow-call.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/e2e-compatibility-workflow-call.yaml b/.github/workflows/e2e-compatibility-workflow-call.yaml index d7ff90905dd..e8315883462 100644 --- a/.github/workflows/e2e-compatibility-workflow-call.yaml +++ b/.github/workflows/e2e-compatibility-workflow-call.yaml @@ -32,7 +32,7 @@ jobs: e2e: runs-on: ubuntu-latest needs: load-test-matrix - if: needs.load-test-matrix.outputs.test-matrix != "" + if: needs.load-test-matrix.outputs.test-matrix strategy: fail-fast: false matrix: ${{ fromJSON(needs.load-test-matrix.outputs.test-matrix) }}