mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-05-21 17:59:30 +00:00
Fix logic to run test_cursor.py in seperate shard
This commit is contained in:
parent
20d44b6154
commit
f1499c55f6
4
.github/workflows/test_common.yml
vendored
4
.github/workflows/test_common.yml
vendored
@ -56,9 +56,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ matrix.shard }}" == "7" ]; then
|
if [ "${{ matrix.shard }}" == 7 ]; then
|
||||||
pytest test_cursor.py
|
pytest test_cursor.py
|
||||||
elif [ "${{ matrix.shard }}" == "shard2" ]; then
|
elif [ "${{ matrix.shard }}" != 7 ]; then
|
||||||
pytest --dist=loadgroup --reruns 2 --shard-id=${{ matrix.shard }} --num-shards=11 --alluredir=allure-results
|
pytest --dist=loadgroup --reruns 2 --shard-id=${{ matrix.shard }} --num-shards=11 --alluredir=allure-results
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user