chore: zip artifacts

This commit is contained in:
Pavel 2023-07-27 11:22:57 -07:00
parent 1754755684
commit 58548640b3

View File

@ -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: |