From c8425b61341cf91d5bc2c258f326df803244a85f Mon Sep 17 00:00:00 2001 From: Trystan Schneider Date: Fri, 27 Dec 2024 10:34:02 +0100 Subject: [PATCH] Invert matrix for test --- .github/workflows/bench-benchmark.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bench-benchmark.yml b/.github/workflows/bench-benchmark.yml index df958933a..4eb735610 100644 --- a/.github/workflows/bench-benchmark.yml +++ b/.github/workflows/bench-benchmark.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - ts/add-bench-aws release: types: [published, prereleased] workflow_dispatch: @@ -32,9 +33,9 @@ jobs: run: | set -ex if [ "$TRIGGER" == 'push' ]; then - echo '{"include":[{"type": "localhost", "ntasks":1000, "polling-limit": 300}]}' > matrix.json - elif [ "$TRIGGER" == 'release' ]; then echo '{"include":[{"type": "localhost", "ntasks":1000, "polling-limit": 300}, {"type": "aws", "ntasks":1200000, "polling-limit": 1000, "parameters-file-path": "tools/ci/bench-aws.tfvars"}]}' > matrix.json + elif [ "$TRIGGER" == 'release' ]; then + echo '{"include":[{"type": "localhost", "ntasks":1000, "polling-limit": 300}]}' > matrix.json elif [ "$TRIGGER" == 'workflow_dispatch' ]; then echo '{"include":[{"type": "aws", "ntasks":1200000, "polling-limit": 1000, "parameters-file-path": "tools/ci/bench-aws.tfvars"}]}' > matrix.json fi