diff --git a/.github/workflows/test_common.yml b/.github/workflows/test_common.yml index 8d68899b..fbb4c7d6 100644 --- a/.github/workflows/test_common.yml +++ b/.github/workflows/test_common.yml @@ -56,9 +56,9 @@ jobs: - name: Run tests run: | - if [ "${{ matrix.shard }}" == "7" ]; then + if [ "${{ matrix.shard }}" == 7 ]; then pytest test_cursor.py - elif [ "${{ matrix.shard }}" == "shard2" ]; then + elif [ "${{ matrix.shard }}" != 7 ]; then pytest --dist=loadgroup --reruns 2 --shard-id=${{ matrix.shard }} --num-shards=11 --alluredir=allure-results fi