Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E testing tools for SFU mode #124

Merged
merged 29 commits into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 31 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,24 @@ jobs:
run: docker pull hub.instrumentisto.com/streaming/medea/review:${{ env.MEDEA_BRANCH }}
if: ${{ env.MEDEA_BRANCH != 'edge' }}

- name: Chrome
run: make test.e2e browser=chrome up=yes debug=no dockerized=yes
- name: Chrome (P2P mesh)
run: make test.e2e browser=chrome sfu=no
up=yes debug=no dockerized=yes
medea-tag=${{ env.MEDEA_BRANCH }}
control-tag=build-${{ github.run_number }}
- name: Firefox
run: make test.e2e browser=firefox up=yes debug=no dockerized=yes
- name: Chrome (SFU)
run: make test.e2e browser=chrome sfu=yes
up=yes debug=no dockerized=yes
medea-tag=${{ env.MEDEA_BRANCH }}
control-tag=build-${{ github.run_number }}
- name: Firefox (P2P mesh)
run: make test.e2e browser=firefox sfu=no
up=yes debug=no dockerized=yes
medea-tag=${{ env.MEDEA_BRANCH }}
control-tag=build-${{ github.run_number }}
- name: Firefox (SFU)
run: make test.e2e browser=firefox sfu=yes
up=yes debug=no dockerized=yes
medea-tag=${{ env.MEDEA_BRANCH }}
control-tag=build-${{ github.run_number }}

Expand Down Expand Up @@ -367,9 +379,22 @@ jobs:
username: ${{ secrets.MEDEA_DOCKER_USER }}
password: ${{ secrets.MEDEA_DOCKER_PASS }}

- run: ${{ (matrix.platform == 'linux' && 'xvfb-run -a')
- name: P2P mesh
run: ${{ (matrix.platform == 'linux' && 'xvfb-run -a')
|| '' }}
make test.e2e.native sfu=no
device=${{ (matrix.platform == 'ios'
&& steps.simulator.outputs.udid)
|| matrix.platform }}
up=yes debug=no dockerized=yes
medea-tag=${{ env.MEDEA_BRANCH }}
control-tag=build-${{ github.run_number }}
${{ (matrix.platform == 'ios' && 'server=127.0.0.1 background=yes')
|| '' }}
- name: SFU
run: ${{ (matrix.platform == 'linux' && 'xvfb-run -a')
|| '' }}
make test.e2e.native
make test.e2e.native sfu=yes
device=${{ (matrix.platform == 'ios'
&& steps.simulator.outputs.udid)
|| matrix.platform }}
Expand Down
Loading
Loading