mirror of
https://github.com/logos-messaging/logos-delivery-interop-tests.git
synced 2026-06-05 22:39:33 +00:00
fix: wf syntax
This commit is contained in:
parent
8c993704f9
commit
5dd2acf7b6
3
.github/workflows/test_common.yml
vendored
3
.github/workflows/test_common.yml
vendored
@ -39,11 +39,10 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
name: tests
|
name: tests
|
||||||
if: ${{ !inputs.fleet_tests || matrix.shard == 0 }}
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
shard: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]
|
shard: ${{ inputs.fleet_tests && fromJSON('[0]') || fromJSON('[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]') }}
|
||||||
# total number of shards =18 means tests will split into 18 thread and run in parallel to increase execution speed
|
# total number of shards =18 means tests will split into 18 thread and run in parallel to increase execution speed
|
||||||
# command for sharding :
|
# command for sharding :
|
||||||
# pytest --shard-id=<shard_number> --num-shards=<total_shards>
|
# pytest --shard-id=<shard_number> --num-shards=<total_shards>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user