2024-01-08 12:35:42 +00: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 08:51:53 +00:00
|
|
|
merge_group:
|
|
|
|
types: [checks_requested]
|
|
|
|
pull_request: {}
|
|
|
|
push:
|
|
|
|
branches: [develop, master]
|
2024-01-08 12:35:42 +00: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
|
|
|
|
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
|
2024-04-30 15:19:35 +00: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' }}
|