Make changes to fix not executed tests issue

This commit is contained in:
aya 2024-12-25 19:08:07 +02:00
parent 2fbed98496
commit 938b819060

View File

@ -56,14 +56,9 @@ jobs:
- name: Run tests
run: |
if [ "${{ matrix.shard }}" == 7 ]; then
pytest --reruns 2 --dist=loadgroup tests/store/test_cursor_many_msgs.py -n 1 --maxfail=1 --alluredir=allure-results-${{ matrix.shard }}
elif [ "${{ matrix.shard }}" == 1 ]; then
pytest --dist=loadgroup tests/relay/test_rln.py -n 1 --alluredir=allure-results-${{ matrix.shard }}
elif [ "${{ matrix.shard }}" != 1 ]; then
pytest --dist=loadgroup --ignore=tests/relay/test_rln.py --ignore=tests/store/test_cursor_many_msgs.py --reruns 2 -n=4 --shard-id=${{ matrix.shard }} --num-shards=13 --alluredir=allure-results-${{ matrix.shard }}
pytest --dist=loadfile --reruns 2 -n=auto --shard-id=${{ matrix.shard }} --num-shards=12 --alluredir=allure-results-${{ matrix.shard }}
fi
- name: Upload allure results
if: always()