From 58548640b38c33f721a7d8a5c6c40bd7f147a202 Mon Sep 17 00:00:00 2001 From: Pavel Date: Thu, 27 Jul 2023 11:22:57 -0700 Subject: [PATCH] chore: zip artifacts --- .github/workflows/tests_service.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests_service.yml b/.github/workflows/tests_service.yml index d3167c7061..61a87aa708 100644 --- a/.github/workflows/tests_service.yml +++ b/.github/workflows/tests_service.yml @@ -32,12 +32,14 @@ jobs: PLAYWRIGHT_SERVICE_URL: ${{ secrets.PLAYWRIGHT_SERVICE_URL }} PLAYWRIGHT_SERVICE_OS: ${{ matrix.service-os }} PLAYWRIGHT_SERVICE_RUN_ID: ${{ github.run_id }}-${{ github.run_attempt }}-${{ github.sha }} + - name: Zip blob report + run: zip -r test-results/blob-report-${{ matrix.browser }}-${{ matrix.service-os }}.zip test-results/blob-report - name: Upload blob report to GitHub if: always() uses: actions/upload-artifact@v3 with: name: blob-report-${{ github.run_attempt }} - path: test-results/blob-report + path: test-results/blob-report-${{ matrix.browser }}-${{ matrix.service-os }}.zip retention-days: 2 merge_reports: @@ -56,7 +58,9 @@ jobs: uses: actions/download-artifact@v3 with: name: blob-report-${{ github.run_attempt }} - path: blob-report + path: blob-report-zips + - name: Unzip all blob reports + run: unzip -o blob-report-zips/blob-report-*.zip -d blob-report - run: npx playwright merge-reports --reporter markdown,html ./blob-report - name: Upload HTML report to Azure run: |