Update end-to-end-tests.yaml

t3chguy/dedup-icons-17oct
Michael Telatynski 2024-04-30 10:28:29 +01:00 committed by GitHub
parent 9aeaa388cc
commit 16a01d834f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -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
@ -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
@ -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!"