mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
ci: Rebalance e2e runners (#19457)
This commit is contained in:
2
.github/workflows/e2e-reusable.yml
vendored
2
.github/workflows/e2e-reusable.yml
vendored
@@ -30,7 +30,7 @@ on:
|
|||||||
containers:
|
containers:
|
||||||
description: 'Number of containers to run tests in.'
|
description: 'Number of containers to run tests in.'
|
||||||
required: false
|
required: false
|
||||||
default: '[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]'
|
default: '[1, 2, 3, 4, 5, 6, 7, 8, 9]'
|
||||||
type: string
|
type: string
|
||||||
pr_number:
|
pr_number:
|
||||||
description: 'PR number to run tests for.'
|
description: 'PR number to run tests for.'
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ on:
|
|||||||
shards:
|
shards:
|
||||||
description: 'Shards for parallel execution'
|
description: 'Shards for parallel execution'
|
||||||
required: false
|
required: false
|
||||||
default: '[1, 2]'
|
default: '[1, 2, 3, 4]'
|
||||||
type: string
|
type: string
|
||||||
docker-image:
|
docker-image:
|
||||||
description: 'Docker image to use (for docker-pull mode)'
|
description: 'Docker image to use (for docker-pull mode)'
|
||||||
@@ -47,7 +47,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
shard: ${{ fromJSON(inputs.shards || '[1, 2]') }}
|
shard: ${{ fromJSON(inputs.shards || '[1, 2, 3, 4]') }}
|
||||||
name: Test (Shard ${{ matrix.shard }}/${{ strategy.job-total }})
|
name: Test (Shard ${{ matrix.shard }}/${{ strategy.job-total }})
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user