Skip to content

Commit

Permalink
Update reusable-e2e-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
goncer authored Nov 7, 2023
1 parent ebd1b7d commit 2fd1629
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/reusable-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,27 @@ on:
description: "Name of the parachain docker reference"
type: string
required: false
default: "mangatasolutions/mangata-node:latest"
default: "mangatasolutions/mangata-node:develop"
skipBuild:
description: "Skip build phase"
type: string
required: false
default: 'false'
default: 'true'
globalVersion:
description: "Set Mangata node version."
type: string
required: true
default: 'develop'
mangataTypesVersion:
description: "Set @mangata-finance/types version"
type: string
default: ""
required: false
withChopsticks:
description: "Run with chopsticks"
type: bool
default: false
required: true
workflow_call:
inputs:
e2eBranch:
Expand Down Expand Up @@ -79,7 +85,7 @@ jobs:
{"command": "yarn test-crowdloan", "fast": false },
{"command": "yarn test-sdk", "fast": true },
'
if [[ "${{ github.event_name }}" != "pull_request" ]]; then
if [[ "${{ github.event_name }}" != "pull_request" ]] || [[ ${{ inputs.withChopsticks }} == 'true' ]] ; then
MATRIX_PARAMS_COMBINATIONS='
{"command": "yarn test-parallel-chops --max-workers=1", "fast": false },
'
Expand Down

0 comments on commit 2fd1629

Please sign in to comment.