You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-06 10:22:45 +03:00
Update end-to-end-tests.yaml
This commit is contained in:
committed by
GitHub
parent
9aeaa388cc
commit
16a01d834f
8
.github/workflows/end-to-end-tests.yaml
vendored
8
.github/workflows/end-to-end-tests.yaml
vendored
@@ -14,6 +14,12 @@ on:
|
|||||||
# support triggering from other workflows
|
# support triggering from other workflows
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
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:
|
react-sdk-repository:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
@@ -86,6 +92,7 @@ jobs:
|
|||||||
playwright:
|
playwright:
|
||||||
name: "Run Tests ${{ matrix.runner }}/${{ strategy.job-total }}"
|
name: "Run Tests ${{ matrix.runner }}/${{ strategy.job-total }}"
|
||||||
needs: build
|
needs: build
|
||||||
|
if: inputs.skip != true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
actions: read
|
||||||
@@ -153,6 +160,7 @@ jobs:
|
|||||||
complete:
|
complete:
|
||||||
name: end-to-end-tests
|
name: end-to-end-tests
|
||||||
needs: playwright
|
needs: playwright
|
||||||
|
if: always() && !failure() && !cancelled()
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo "All tests passed!"
|
- run: echo "All tests passed!"
|
||||||
|
Reference in New Issue
Block a user