mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-27 13:50:25 +03:00
chore: zip artifacts
This commit is contained in:
parent
1754755684
commit
58548640b3
8
.github/workflows/tests_service.yml
vendored
8
.github/workflows/tests_service.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user