Skip to content

Commit

Permalink
ci: Wait for openvidu-local-deployment and testapp
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Jul 24, 2024
1 parent 25ef634 commit 551bc76
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/openvidu-components-angular-E2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,13 @@ jobs:
git clone --depth 1 https://github.com/OpenVidu/openvidu-local-deployment
cd openvidu-local-deployment/community
./configure_lan_private_ip_linux.sh
docker compose up
docker compose up -d
- name: Wait for openvidu-local-deployment
run: |
until curl -s -f -o /dev/null http://localhost:7880; do
echo "Waiting for openvidu-local-deployment to be ready..."
sleep 5
done
- name: Install dependencies
run: |
cd openvidu-components-angular
Expand All @@ -77,6 +82,12 @@ jobs:
run: npm run build --prefix openvidu-components-angular
- name: Serve openvidu-components-angular Testapp
run: npm run start-prod --prefix openvidu-components-angular &
- name: Wait for openvidu-components-angular Testapp
run: |
until curl -s -f -o /dev/null http://localhost:4200; do
echo "Waiting for openvidu-components-angular Testapp to be ready..."
sleep 5
done
- name: Run openvidu-components-angular E2E
run: npm run lib:e2e-ci --prefix openvidu-components-angular

Expand Down

0 comments on commit 551bc76

Please sign in to comment.