From f2d9f13f1b2125939458f11e7b70111b06f97ff2 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 3 Jun 2024 21:56:33 +0100 Subject: [PATCH] Update end-to-end-tests.yaml --- .github/workflows/end-to-end-tests.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/end-to-end-tests.yaml b/.github/workflows/end-to-end-tests.yaml index 7901bfb343a..f7506f83243 100644 --- a/.github/workflows/end-to-end-tests.yaml +++ b/.github/workflows/end-to-end-tests.yaml @@ -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 @@ -167,17 +168,21 @@ 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-* @@ -185,12 +190,14 @@ jobs: 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