From 938b8190602b4e35c4a4b18cb3d42bb2ad3c3f08 Mon Sep 17 00:00:00 2001 From: aya Date: Wed, 25 Dec 2024 19:08:07 +0200 Subject: [PATCH] Make changes to fix not executed tests issue --- .github/workflows/test_common.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_common.yml b/.github/workflows/test_common.yml index 82dfc605..aff42352 100644 --- a/.github/workflows/test_common.yml +++ b/.github/workflows/test_common.yml @@ -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()