2024-01-08 20:35:42 +08:00
|
|
|
# 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:
|
2024-04-29 16:51:53 +08:00
|
|
|
merge_group:
|
|
|
|
types: [checks_requested]
|
|
|
|
pull_request: {}
|
|
|
|
push:
|
|
|
|
branches: [develop, master]
|
2024-01-08 20:35:42 +08:00
|
|
|
|
|
|
|
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
|
2024-09-13 21:25:15 +08:00
|
|
|
uses: element-hq/matrix-react-sdk/.github/workflows/end-to-end-tests.yaml@develop
|
2024-01-08 20:35:42 +08:00
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
issues: read
|
|
|
|
pull-requests: read
|
|
|
|
with:
|
2024-05-13 18:19:55 +08:00
|
|
|
element-web-sha: ${{ github.sha }}
|
2024-09-13 21:25:15 +08:00
|
|
|
react-sdk-repository: element-hq/matrix-react-sdk
|
2024-04-30 23:19:35 +08:00
|
|
|
# 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.
|
|
|
|
skip: ${{ github.event_name != 'merge_group' }}
|