Skip to content

Commit

Permalink
Revert "chore: update matrix job setup config format"
Browse files Browse the repository at this point in the history
This reverts commit aa740dd.
  • Loading branch information
tenequm committed Nov 7, 2023
1 parent aa740dd commit 59b2cd8
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/reusable-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
- name: matrix-to-run
id: matrixToRun
run: |
{
MATRIX_PARAMS_COMBINATIONS='
{"command": "yarn test-parallel --max-workers=10", "fast": false },
{"command": "yarn test-sequential-no-bootstrap", "fast": false },
Expand All @@ -83,15 +84,15 @@ jobs:
{"command": "yarn test-experimentalStaking", "fast": true },
{"command": "yarn test-crowdloan", "fast": false },
{"command": "yarn test-sdk", "fast": true },
'
'
if [[ "${{ github.event_name }}" == "pull_request" ]] || [[ "${{ inputs.withChopsticks }}" == "true" ]] ; then
MATRIX_PARAMS_COMBINATIONS='
{"command": "yarn test-parallel-chops --max-workers=1", "fast": false },
{"command": "test-parallel-skipped-chops --max-workers=10", "fast": false },
{"command": "yarn test-parallel-skipped-chops --max-workers=10", "fast": false },
{"command": "yarn test-sequential-no-bootstrap", "fast": false },
{"command": "yarn test-seqgasless", "fast": false },
{"command": "yarn test-maintenance", "fast": true },
{"command": "test-bootstrap-chops", "fast": false },
{"command": "yarn test-bootstrap-chops", "fast": false },
{"command": "yarn test-rewards-bootstrap", "fast": false },
{"command": "yarn test-parallel-autocompound", "fast": true },
{"command": "yarn test-sequential-autocompound", "fast": true },
Expand All @@ -101,9 +102,12 @@ jobs:
{"command": "yarn test-experimentalStaking", "fast": true },
{"command": "yarn test-crowdloan", "fast": false },
{"command": "yarn test-sdk", "fast": true },
'
'
fi
echo "matrix={\"include\":[$MATRIX_PARAMS_COMBINATIONS]}" >> $GITHUB_OUTPUT
echo "matrix<<EOF
{\"include\":[$MATRIX_PARAMS_COMBINATIONS]}"
echo EOF
} >> $GITHUB_OUTPUT
outputs:
matrix: ${{ steps.matrixToRun.outputs.matrix }}

Expand Down

0 comments on commit 59b2cd8

Please sign in to comment.