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

Commit 16a01d8

Browse files
authored
Update end-to-end-tests.yaml
1 parent 9aeaa38 commit 16a01d8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/end-to-end-tests.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ on:
1414
# support triggering from other workflows
1515
workflow_call:
1616
inputs:
17+
skip:
18+
type: boolean
19+
required: false
20+
default: false
21+
description: "A boolean to skip the playwright check itself while still creating the passing check. Useful when only running in Merge Queues."
22+
1723
react-sdk-repository:
1824
type: string
1925
required: true
@@ -86,6 +92,7 @@ jobs:
8692
playwright:
8793
name: "Run Tests ${{ matrix.runner }}/${{ strategy.job-total }}"
8894
needs: build
95+
if: inputs.skip != true
8996
runs-on: ubuntu-latest
9097
permissions:
9198
actions: read
@@ -153,6 +160,7 @@ jobs:
153160
complete:
154161
name: end-to-end-tests
155162
needs: playwright
163+
if: always() && !failure() && !cancelled()
156164
runs-on: ubuntu-latest
157165
steps:
158166
- run: echo "All tests passed!"

0 commit comments

Comments
 (0)