mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops: blob report is already zipped (#24595)
This commit is contained in:
parent
9575867f1c
commit
d57a3bad39
18
.github/workflows/tests_service.yml
vendored
18
.github/workflows/tests_service.yml
vendored
@ -26,21 +26,17 @@ jobs:
|
||||
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test -- --project=${{ matrix.browser }} --workers=10 --retries=0
|
||||
env:
|
||||
PWTEST_MODE: service2
|
||||
PWTEST_BLOB_SUFFIX: "-${{ matrix.service-os }}-service"
|
||||
PWTEST_BLOB_SUFFIX: "-${{ matrix.browser }}-${{ matrix.service-os }}-service"
|
||||
PLAYWRIGHT_SERVICE_ACCESS_KEY: ${{ secrets.PLAYWRIGHT_SERVICE_ACCESS_KEY }}
|
||||
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
|
||||
if: always()
|
||||
run: zip -r ../blob-report-${{ matrix.browser }}-${{ matrix.service-os }}.zip .
|
||||
working-directory: blob-report
|
||||
- name: Upload blob report to GitHub
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: blob-report-${{ github.run_attempt }}
|
||||
path: blob-report-${{ matrix.browser }}-${{ matrix.service-os }}.zip
|
||||
name: all-blob-reports
|
||||
path: blob-report
|
||||
retention-days: 2
|
||||
|
||||
merge_reports:
|
||||
@ -58,11 +54,9 @@ jobs:
|
||||
- name: Download blob report artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: blob-report-${{ github.run_attempt }}
|
||||
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: all-blob-reports
|
||||
path: all-blob-reports
|
||||
- run: npx playwright merge-reports --reporter markdown,html ./all-blob-reports
|
||||
- name: Upload HTML report to Azure
|
||||
run: |
|
||||
REPORT_DIR='run-service-${{ github.run_id }}-${{ github.run_attempt }}-${{ github.sha }}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user