From 9e460871e23ce1a5a5dc4bd84a43c76cf8b714d8 Mon Sep 17 00:00:00 2001 From: aya Date: Wed, 25 Dec 2024 15:31:15 +0200 Subject: [PATCH] Fix syntax error in pytest 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 8e0b91df..5e413d98 100644 --- a/.github/workflows/test_common.yml +++ b/.github/workflows/test_common.yml @@ -60,7 +60,7 @@ jobs: pytest --reruns 2 -k "test_get_multiple_2000_store_messages" -n 1 --maxfail=1 elif [ "${{ matrix.shard }}" == 1 ]; then pytest --dist=loadgroup tests/relay/test_rln.py -n 1 - else then + elif [ "${{ matrix.shard }}" != 1 ]; then pytest --dist=loadgroup --ignore=test_get_multiple_2000_store_messages --ignore=tests/relay/test_rln.py --reruns 2 --shard-id=${{ matrix.shard }} --num-shards=13 --alluredir=allure-results fi