From 6151559f494a3739e90d043cc573e9ab1edce1ff Mon Sep 17 00:00:00 2001 From: aya Date: Thu, 12 Dec 2024 10:46:27 +0200 Subject: [PATCH] Modify pytest run command --- .github/workflows/test_common.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_common.yml b/.github/workflows/test_common.yml index 9ecb64ea..70ac7ce0 100644 --- a/.github/workflows/test_common.yml +++ b/.github/workflows/test_common.yml @@ -56,7 +56,7 @@ jobs: - name: Run tests run: | - pytest --shard-id=${{ matrix.shard }} --num-shards=2 --alluredir=allure-results + pytest --dist loadgroup --reruns 2 --shard-id=${{ matrix.shard }} --num-shards=2 --alluredir=allure-results - name: Get allure history if: always()