ci: Comment out integration test steps in workflow configuration
This commit is contained in:
parent
920673e7cd
commit
f7542c14e2
584
.github/workflows/e2e-test.yml
vendored
584
.github/workflows/e2e-test.yml
vendored
File diff suppressed because it is too large
Load Diff
144
.github/workflows/integration-test.yaml
vendored
144
.github/workflows/integration-test.yaml
vendored
@ -1,82 +1,82 @@
|
|||||||
name: Integration Tests
|
# name: Integration Tests
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
branches:
|
# branches:
|
||||||
- next
|
# - next
|
||||||
|
|
||||||
pull_request:
|
# pull_request:
|
||||||
branches:
|
# branches:
|
||||||
- next
|
# - next
|
||||||
|
|
||||||
jobs:
|
# jobs:
|
||||||
embedded_auth_tests:
|
# embedded_auth_tests:
|
||||||
name: Embedded Auth API
|
# name: Embedded Auth API
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout OpenVidu Local Deployment
|
# - name: Checkout OpenVidu Local Deployment
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
with:
|
# with:
|
||||||
repository: OpenVidu/openvidu-local-deployment
|
# repository: OpenVidu/openvidu-local-deployment
|
||||||
ref: development
|
# ref: development
|
||||||
path: openvidu-local-deployment
|
# path: openvidu-local-deployment
|
||||||
|
|
||||||
- name: Configure Local Deployment
|
# - name: Configure Local Deployment
|
||||||
shell: bash
|
# shell: bash
|
||||||
run: |
|
# run: |
|
||||||
cd openvidu-local-deployment/community
|
# cd openvidu-local-deployment/community
|
||||||
./configure_lan_private_ip_linux.sh
|
# ./configure_lan_private_ip_linux.sh
|
||||||
docker compose up -d
|
# docker compose up -d
|
||||||
|
|
||||||
- name: Wait for OpenVidu Local Deployment to Start
|
# - name: Wait for OpenVidu Local Deployment to Start
|
||||||
shell: bash
|
# shell: bash
|
||||||
run: |
|
# run: |
|
||||||
MAX_WAIT_SECONDS=60
|
# MAX_WAIT_SECONDS=60
|
||||||
SECONDS=0
|
# SECONDS=0
|
||||||
until curl -s -f -o /dev/null http://localhost:7880; do
|
# until curl -s -f -o /dev/null http://localhost:7880; do
|
||||||
if [ $SECONDS -gt $MAX_WAIT_SECONDS ]; then
|
# if [ $SECONDS -gt $MAX_WAIT_SECONDS ]; then
|
||||||
echo "OpenVidu Local Deployment did not start in $MAX_WAIT_SECONDS seconds"
|
# echo "OpenVidu Local Deployment did not start in $MAX_WAIT_SECONDS seconds"
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
# fi
|
||||||
echo "Waiting for openvidu-local-deployment to be ready ..."
|
# echo "Waiting for openvidu-local-deployment to be ready ..."
|
||||||
sleep 5
|
# sleep 5
|
||||||
SECONDS=$((SECONDS+5))
|
# SECONDS=$((SECONDS+5))
|
||||||
done
|
# done
|
||||||
echo "OpenVidu Local Deployment started in $SECONDS seconds"
|
# echo "OpenVidu Local Deployment started in $SECONDS seconds"
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
# - uses: actions/checkout@v4
|
||||||
with:
|
# with:
|
||||||
ref: next
|
# ref: next
|
||||||
path: openvidu-meet
|
# path: openvidu-meet
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
# - uses: actions/setup-node@v4
|
||||||
with:
|
# with:
|
||||||
node-version: '20'
|
# node-version: '20'
|
||||||
|
|
||||||
- name: Run openvidu-meet backend
|
# - name: Run openvidu-meet backend
|
||||||
run: |
|
# run: |
|
||||||
cd openvidu-meet
|
# cd openvidu-meet
|
||||||
./prepare.sh
|
# ./prepare.sh
|
||||||
cd backend
|
# cd backend
|
||||||
npm install
|
# npm install
|
||||||
npm run test:embedded-auth-api
|
# npm run test:embedded-auth-api
|
||||||
|
|
||||||
openvidu_webhook_tests:
|
# openvidu_webhook_tests:
|
||||||
name: OpenVidu Webhooks
|
# name: OpenVidu Webhooks
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v4
|
# - uses: actions/checkout@v4
|
||||||
with:
|
# with:
|
||||||
ref: next
|
# ref: next
|
||||||
path: openvidu-meet
|
# path: openvidu-meet
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
# - uses: actions/setup-node@v4
|
||||||
with:
|
# with:
|
||||||
node-version: '20'
|
# node-version: '20'
|
||||||
|
|
||||||
- name: Run openvidu-meet backend
|
# - name: Run openvidu-meet backend
|
||||||
run: |
|
# run: |
|
||||||
cd openvidu-meet
|
# cd openvidu-meet
|
||||||
./prepare.sh
|
# ./prepare.sh
|
||||||
cd backend
|
# cd backend
|
||||||
npm install
|
# npm install
|
||||||
npm run test:integration-webhooks
|
# npm run test:integration-webhooks
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user