mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-01-03 22:43:10 +00:00
Add comments in workflow for shards
This commit is contained in:
parent
ac9fb3d611
commit
6890ed79a1
7
.github/workflows/test_common.yml
vendored
7
.github/workflows/test_common.yml
vendored
@ -39,7 +39,11 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
shard: [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
|
||||
# command for sharding :
|
||||
# pytest --shard-id=<shard_number> --num-shards=<total_shards>
|
||||
# shard 16 for test_rln.py file as they shall run sequentially
|
||||
# shard 17 for test_cursor_many_msgs.py as it takes time >7 mins
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
steps:
|
||||
@ -57,6 +61,7 @@ jobs:
|
||||
- run: pip install -r requirements.txt
|
||||
|
||||
- name: Run tests
|
||||
|
||||
run: |
|
||||
if [ "${{ matrix.shard }}" == "16" ]; then
|
||||
pytest tests/relay/test_rln.py --alluredir=allure-results-${{ matrix.shard }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user