Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Update end-to-end-tests.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Jun 3, 2024
1 parent 3085070 commit f2d9f13
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/end-to-end-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
build:
name: "Build Element-Web"
runs-on: ubuntu-latest
if: inputs.skip != true
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -167,30 +168,36 @@ jobs:
run: exit 1

- uses: actions/checkout@v4
if: inputs.skip != true
with:
persist-credentials: false

- uses: actions/setup-node@v4
if: inputs.skip != true
with:
cache: "yarn"

- name: Install dependencies
if: inputs.skip != true
run: yarn install --frozen-lockfile

- name: Download blob reports from GitHub Actions Artifacts
if: inputs.skip != true
uses: actions/download-artifact@v4
with:
pattern: all-blob-reports-*
path: all-blob-reports
merge-multiple: true

- name: Merge into HTML Report
if: inputs.skip != true
run: yarn playwright merge-reports --reporter=html,./playwright/flaky-reporter.ts ./all-blob-reports
env:
# Only pass creds to the flaky-reporter on main branch runs
GITHUB_TOKEN: ${{ github.event.workflow_run.head_branch == 'develop' && secrets.ELEMENT_BOT_TOKEN || '' }}

- name: Upload HTML report
if: inputs.skip != true
uses: actions/upload-artifact@v4
with:
name: html-report
Expand Down

0 comments on commit f2d9f13

Please sign in to comment.