mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-27 02:48:39 +08:00
30 lines
1.1 KiB
YAML
30 lines
1.1 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
|
|
uses: matrix-org/matrix-react-sdk/.github/workflows/end-to-end-tests.yaml@develop
|
|
permissions:
|
|
actions: read
|
|
issues: read
|
|
pull-requests: read
|
|
with:
|
|
element-web-sha: ${{ github.sha }}
|
|
react-sdk-repository: matrix-org/matrix-react-sdk
|
|
# 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' }}
|