Skip to content

Commit

Permalink
Update end-to-end-tests.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Apr 30, 2024
1 parent 9aeaa38 commit 16a01d8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/end-to-end-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ on:
# support triggering from other workflows
workflow_call:
inputs:
skip:
type: boolean
required: false
default: false
description: "A boolean to skip the playwright check itself while still creating the passing check. Useful when only running in Merge Queues."

react-sdk-repository:
type: string
required: true
Expand Down Expand Up @@ -86,6 +92,7 @@ jobs:
playwright:
name: "Run Tests ${{ matrix.runner }}/${{ strategy.job-total }}"
needs: build
if: inputs.skip != true
runs-on: ubuntu-latest
permissions:
actions: read
Expand Down Expand Up @@ -153,6 +160,7 @@ jobs:
complete:
name: end-to-end-tests
needs: playwright
if: always() && !failure() && !cancelled()
runs-on: ubuntu-latest
steps:
- run: echo "All tests passed!"

0 comments on commit 16a01d8

Please sign in to comment.