mirror of https://github.com/vector-im/riot-web
29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
# Triggers after the "Downstream artifacts" build has finished, to run the
|
|
# matrix-react-sdk playwright tests (with access to repo secrets)
|
|
|
|
name: matrix-react-sdk End to End Tests
|
|
on:
|
|
merge_group:
|
|
types: [checks_requested]
|
|
pull_request: {}
|
|
push:
|
|
branches: [develop, master]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch || github.run_id }}
|
|
cancel-in-progress: ${{ github.event.workflow_run.event == 'pull_request' }}
|
|
|
|
jobs:
|
|
playwright:
|
|
name: Playwright
|
|
# We only want to run the playwright tests on merge queue to prevent regressions
|
|
# from creeping in. They take a long time to run and consume multiple concurrent runners.
|
|
if: github.event_name == 'merge_group'
|
|
uses: matrix-org/matrix-react-sdk/.github/workflows/end-to-end-tests.yaml@develop
|
|
permissions:
|
|
actions: read
|
|
issues: read
|
|
pull-requests: read
|
|
with:
|
|
react-sdk-repository: matrix-org/matrix-react-sdk
|