From 31e26a61c401e43eb16526690c51bf34431583a7 Mon Sep 17 00:00:00 2001 From: aya Date: Wed, 25 Dec 2024 19:38:04 +0200 Subject: [PATCH] Modify pytest command " remove collect only " --- .github/workflows/test_common.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_common.yml b/.github/workflows/test_common.yml index 9089ef55..998574f6 100644 --- a/.github/workflows/test_common.yml +++ b/.github/workflows/test_common.yml @@ -37,7 +37,7 @@ jobs: name: tests strategy: matrix: - shard: [ 0,1,2,3,4,5,6,7 ,8,9,10,11] + shard: [ 0,1,2,3,4,5,6,7 ,8,9,10,11,12,13,14] runs-on: ubuntu-latest timeout-minutes: 120 steps: @@ -61,7 +61,7 @@ jobs: elif [ "${{ matrix.shard }}" == 1 ]; then pytest --dist=loadfile tests/relay/test_rln.py -n 1 --alluredir=allure-results-${{ matrix.shard }} elif [ "${{ matrix.shard }}" != 1 ]; then - pytest --dist=loadfile --collect-only --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 --ignore=tests/relay/test_rln.py --ignore=tests/store/test_cursor_many_msgs.py --reruns 2 -n=4 --shard-id=${{ matrix.shard }} --num-shards=15 --alluredir=allure-results-${{ matrix.shard }} fi