From bc8f1faa6847f18edb87e94449ed7ad71b3bef73 Mon Sep 17 00:00:00 2001 From: aya Date: Wed, 25 Dec 2024 17:39:26 +0200 Subject: [PATCH] Make changes to reports collecting --- .github/workflows/test_common.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_common.yml b/.github/workflows/test_common.yml index a2d245b0..3f92216f 100644 --- a/.github/workflows/test_common.yml +++ b/.github/workflows/test_common.yml @@ -57,11 +57,11 @@ 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 + 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 + 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 + 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 }} fi @@ -70,7 +70,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: allure-results-${{ matrix.shard }} - path: allure-results/ + path: allure-results-${{ matrix.shard }} @@ -81,7 +81,7 @@ jobs: - name: Download all allure results uses: actions/download-artifact@v4 with: - path: allure-results + path: all-results merge-multiple: true - name: Get allure history @@ -96,7 +96,7 @@ jobs: if: always() id: allure-report with: - allure_results: allure-results + allure_results: all-results gh_pages: gh-pages/${{ env.CALLER }} allure_history: allure-history keep_reports: 30