bigbluebutton-Github/.github/actions/upload-blob-report/action.yml
Anton Barboza de Sá c6e8464693
core: Makes CI read the needed data from an uploaded file when the tests finish (#20810)
* core: get PR number from artifacts on completed testing workflow

* core: split merge and upload blob-report action into a separate file

* ci: do not remove artifact files
2024-08-13 23:48:18 -03:00

37 lines
1.2 KiB
YAML

name: Upload blob report
description: Merge and upload the blob report to GitHub Actions Artifacts
runs:
using: composite
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
shell: bash
working-directory: ./bigbluebutton-tests/playwright
run: npm ci
- name: Merge artifacts
uses: actions/upload-artifact/merge@v4
with:
name: all-blob-reports
pattern: blob-report-*
delete-merged: true
- name: Download all blob reports from GitHub Actions Artifacts
uses: actions/download-artifact@v4
with:
name: all-blob-reports
path: bigbluebutton-tests/playwright/all-blob-reports
- name: Merge into HTML Report
shell: bash
working-directory: ./bigbluebutton-tests/playwright
run: npx playwright merge-reports --reporter html ./all-blob-reports
- name: Upload HTML tests report
uses: actions/upload-artifact@v4
with:
name: tests-report
overwrite: true
path: |
bigbluebutton-tests/playwright/playwright-report
bigbluebutton-tests/playwright/test-results