2023-03-06 16:45:42 +08:00
|
|
|
name: Run E2E tests
|
|
|
|
on:
|
|
|
|
workflow_run:
|
|
|
|
workflows: ["deploy"]
|
|
|
|
types:
|
|
|
|
- completed
|
|
|
|
branches-ignore:
|
2023-06-26 20:37:31 +08:00
|
|
|
- "livekit"
|
2023-03-06 16:45:42 +08:00
|
|
|
jobs:
|
|
|
|
e2e:
|
|
|
|
name: E2E tests runs on Element Call
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Check out test private repo
|
2024-10-09 18:02:22 +08:00
|
|
|
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
|
2023-03-06 16:45:42 +08:00
|
|
|
with:
|
2023-12-13 04:02:27 +08:00
|
|
|
repository: element-hq/static-call-participant
|
2023-03-06 16:45:42 +08:00
|
|
|
ref: refs/heads/main
|
|
|
|
path: static-call-participant
|
|
|
|
token: ${{ secrets.GH_E2E_TEST_TOKEN }}
|
|
|
|
- name: Build E2E Image
|
|
|
|
run: "cd static-call-participant && docker build --no-cache --tag matrixdotorg/chrome-node-static-call-participant:latest ."
|
|
|
|
- name: Run E2E tests in container
|
|
|
|
run: "docker run --rm -v '${{ github.workspace }}/static-call-participant/callemshost-users.txt:/opt/app/callemshost-users.txt' matrixdotorg/chrome-node-static-call-participant:latest ./e2e.sh"
|