mirror of https://github.com/OpenVidu/openvidu.git
ci: Added stream tests
parent
35eacb45a1
commit
28e96647fa
|
@ -352,10 +352,9 @@ jobs:
|
||||||
if: always()
|
if: always()
|
||||||
uses: ./.github/actions/cleanup
|
uses: ./.github/actions/cleanup
|
||||||
|
|
||||||
webcomponent_e2e_stream:
|
e2e_stream:
|
||||||
needs: test_setup
|
needs: test_setup
|
||||||
name: Webcomponent stream
|
name: Stream E2E
|
||||||
if: false
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
|
@ -376,26 +375,12 @@ jobs:
|
||||||
uses: ./.github/actions/setup-local-deployment
|
uses: ./.github/actions/setup-local-deployment
|
||||||
- name: Setup OpenVidu Call Backend
|
- name: Setup OpenVidu Call Backend
|
||||||
uses: ./.github/actions/setup-openvidu-call-backend
|
uses: ./.github/actions/setup-openvidu-call-backend
|
||||||
- name: Install dependencies
|
- name: Build and Serve openvidu-components-angular Testapp
|
||||||
run: |
|
uses: ./.github/actions/build-and-serve-components-testapp
|
||||||
cd openvidu-components-angular
|
- name: Run Tests
|
||||||
npm install
|
|
||||||
- name: Build openvidu-angular
|
|
||||||
run: npm run lib:build --prefix openvidu-components-angular
|
|
||||||
- name: Build openvidu-webcomponent
|
|
||||||
run: npm run webcomponent:testing-build --prefix openvidu-components-angular
|
|
||||||
- name: Serve Webcomponent Testapp
|
|
||||||
run: npm run webcomponent:serve-testapp --prefix openvidu-components-angular &
|
|
||||||
- name: Wait for openvidu-components-angular Testapp
|
|
||||||
run: |
|
|
||||||
until curl -s -f -o /dev/null http://localhost:8080; do
|
|
||||||
echo "Waiting for openvidu-components-angular Testapp to be ready..."
|
|
||||||
sleep 5
|
|
||||||
done
|
|
||||||
- name: Run Webcomponent E2E
|
|
||||||
env:
|
env:
|
||||||
LAUNCH_MODE: CI
|
LAUNCH_MODE: CI
|
||||||
run: npm run e2e:webcomponent-stream --prefix openvidu-components-angular
|
run: npm run e2e:lib-stream --prefix openvidu-components-angular
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
if: always()
|
if: always()
|
||||||
uses: ./.github/actions/cleanup
|
uses: ./.github/actions/cleanup
|
||||||
|
|
Loading…
Reference in New Issue