Skip to content

Commit

Permalink
Invert matrix for test
Browse files Browse the repository at this point in the history
  • Loading branch information
tschneider-aneo committed Dec 27, 2024
1 parent 804b8f9 commit c8425b6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/bench-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- ts/add-bench-aws
release:
types: [published, prereleased]
workflow_dispatch:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c8425b6

Please sign in to comment.