-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -188,6 +188,14 @@ jobs: | |
compression-level: 0 | ||
retention-days: 1 | ||
|
||
- name: Upload reports / ${{ env.PLAYWRIGHT_SNAPSHOTS_ARTIFACTS_KEY }} | ||
uses: actions/[email protected] | ||
with: | ||
path: ./projects/demo-playwright/blob-report | ||
name: blob-reports__${{ env.PLAYWRIGHT_SNAPSHOTS_ARTIFACTS_KEY }}-${{ github.run_id }}-${{ github.job }} | ||
compression-level: 0 | ||
retention-days: 1 | ||
|
||
# workaround for status checks -- check this one job instead of each individual E2E job in the matrix | ||
# see https://github.com/orgs/community/discussions/9141#discussioncomment-2296809 | ||
playwright-composite-result: | ||
|
@@ -213,6 +221,7 @@ jobs: | |
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
- uses: taiga-family/ci/actions/setup/[email protected] | ||
|
||
- name: Download artifacts for Playwright | ||
continue-on-error: true | ||
|
@@ -223,6 +232,15 @@ jobs: | |
merge-multiple: true | ||
- run: ls -R ./total/playwright || echo "not found" | ||
|
||
- name: Download artifacts for Playwright | ||
continue-on-error: true | ||
uses: actions/[email protected] | ||
with: | ||
path: all-blob-reports | ||
pattern: blob-reports__${{ env.PLAYWRIGHT_SNAPSHOTS_ARTIFACTS_KEY }}-* | ||
merge-multiple: true | ||
- run: ls -R ./all-blob-reports || echo "not found" | ||
|
||
- name: Download artifacts for Cypress | ||
continue-on-error: true | ||
uses: actions/[email protected] | ||
|
@@ -232,6 +250,25 @@ jobs: | |
merge-multiple: true | ||
- run: ls -R ./total/cypress || echo "not found" | ||
|
||
- name: Merge into HTML Report | ||
run: npx playwright merge-reports --reporter html,json ./all-blob-reports | ||
|
||
- name: Upload HTML report | ||
uses: actions/[email protected] | ||
id: upload-merged-playwright-report-step | ||
with: | ||
name: html-report--attempt-${{ github.run_attempt }} | ||
path: playwright-report | ||
retention-days: 1 | ||
|
||
- name: Create report comment | ||
id: report-summary | ||
uses: daun/[email protected] | ||
with: | ||
comment-title: 'Playwright test results' | ||
report-file: ./playwright-report/results.json | ||
report-url: ${{ steps.upload-merged-playwright-report-step.outputs.artifact-url }} | ||
|
||
- name: Check if diff-output exists | ||
id: diff_checker | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,3 +44,4 @@ RELEASE_BODY.md | |
projects/demo/routes.txt | ||
migrations.json | ||
sitemap.xml | ||
blob-report |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters