generated from Tinkoff/angular-open-source-starter
-
Notifications
You must be signed in to change notification settings - Fork 7
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
1 parent
1f77152
commit 6bf8785
Showing
4 changed files
with
230 additions
and
220 deletions.
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
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 |
---|---|---|
|
@@ -2,12 +2,13 @@ name: ⚙️ E2E tests | |
on: | ||
pull_request: | ||
|
||
env: | ||
PW_RESULT: ./projects/demo-playwright/tests-results | ||
|
||
jobs: | ||
e2e: | ||
name: E2E | ||
runs-on: ubuntu-latest | ||
env: | ||
PW_RESULT: ./projects/demo-playwright/tests-results | ||
outputs: | ||
details_url: ${{ steps.e2e-report.outputs.details_url }} | ||
steps: | ||
|
@@ -49,6 +50,14 @@ jobs: | |
disableComment: 'true' | ||
expires: 1d | ||
|
||
- name: Upload report artifacts | ||
uses: actions/[email protected] | ||
with: | ||
path: ${{ env.PW_RESULT }}/test-results.json | ||
name: ${{ env.PLAYWRIGHT_SNAPSHOTS_ARTIFACTS_KEY }}_report | ||
compression-level: 0 | ||
retention-days: 1 | ||
|
||
- name: Upload artifacts / ${{ env.PLAYWRIGHT_SNAPSHOTS_ARTIFACTS_KEY }} | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -73,6 +82,11 @@ jobs: | |
path: ${{ env.PW_RESULT }} | ||
name: ${{ env.PLAYWRIGHT_SNAPSHOTS_ARTIFACTS_KEY }} | ||
merge-multiple: true | ||
- uses: actions/[email protected] | ||
with: | ||
path: ${{ env.PW_RESULT }} | ||
name: ${{ env.PLAYWRIGHT_SNAPSHOTS_ARTIFACTS_KEY }}_report | ||
|
||
- run: tree ${{ env.PW_RESULT }} || echo "not found" | ||
|
||
- name: Check if diff-output exists | ||
|
Oops, something went wrong.