ci: Comment out integration test steps in workflow configuration

This commit is contained in:
Carlos Santos 2025-03-11 17:52:08 +01:00
parent 920673e7cd
commit f7542c14e2
2 changed files with 364 additions and 364 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,82 +1,82 @@
name: Integration Tests
on:
push:
branches:
- next
# name: Integration Tests
# on:
# push:
# branches:
# - next
pull_request:
branches:
- next
# pull_request:
# branches:
# - next
jobs:
embedded_auth_tests:
name: Embedded Auth API
runs-on: ubuntu-latest
steps:
- name: Checkout OpenVidu Local Deployment
uses: actions/checkout@v4
with:
repository: OpenVidu/openvidu-local-deployment
ref: development
path: openvidu-local-deployment
# jobs:
# embedded_auth_tests:
# name: Embedded Auth API
# runs-on: ubuntu-latest
# steps:
# - name: Checkout OpenVidu Local Deployment
# uses: actions/checkout@v4
# with:
# repository: OpenVidu/openvidu-local-deployment
# ref: development
# path: openvidu-local-deployment
- name: Configure Local Deployment
shell: bash
run: |
cd openvidu-local-deployment/community
./configure_lan_private_ip_linux.sh
docker compose up -d
# - name: Configure Local Deployment
# shell: bash
# run: |
# cd openvidu-local-deployment/community
# ./configure_lan_private_ip_linux.sh
# docker compose up -d
- name: Wait for OpenVidu Local Deployment to Start
shell: bash
run: |
MAX_WAIT_SECONDS=60
SECONDS=0
until curl -s -f -o /dev/null http://localhost:7880; do
if [ $SECONDS -gt $MAX_WAIT_SECONDS ]; then
echo "OpenVidu Local Deployment did not start in $MAX_WAIT_SECONDS seconds"
exit 1
fi
echo "Waiting for openvidu-local-deployment to be ready ..."
sleep 5
SECONDS=$((SECONDS+5))
done
echo "OpenVidu Local Deployment started in $SECONDS seconds"
# - name: Wait for OpenVidu Local Deployment to Start
# shell: bash
# run: |
# MAX_WAIT_SECONDS=60
# SECONDS=0
# until curl -s -f -o /dev/null http://localhost:7880; do
# if [ $SECONDS -gt $MAX_WAIT_SECONDS ]; then
# echo "OpenVidu Local Deployment did not start in $MAX_WAIT_SECONDS seconds"
# exit 1
# fi
# echo "Waiting for openvidu-local-deployment to be ready ..."
# sleep 5
# SECONDS=$((SECONDS+5))
# done
# echo "OpenVidu Local Deployment started in $SECONDS seconds"
- uses: actions/checkout@v4
with:
ref: next
path: openvidu-meet
# - uses: actions/checkout@v4
# with:
# ref: next
# path: openvidu-meet
- uses: actions/setup-node@v4
with:
node-version: '20'
# - uses: actions/setup-node@v4
# with:
# node-version: '20'
- name: Run openvidu-meet backend
run: |
cd openvidu-meet
./prepare.sh
cd backend
npm install
npm run test:embedded-auth-api
# - name: Run openvidu-meet backend
# run: |
# cd openvidu-meet
# ./prepare.sh
# cd backend
# npm install
# npm run test:embedded-auth-api
openvidu_webhook_tests:
name: OpenVidu Webhooks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: next
path: openvidu-meet
# openvidu_webhook_tests:
# name: OpenVidu Webhooks
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# ref: next
# path: openvidu-meet
- uses: actions/setup-node@v4
with:
node-version: '20'
# - uses: actions/setup-node@v4
# with:
# node-version: '20'
- name: Run openvidu-meet backend
run: |
cd openvidu-meet
./prepare.sh
cd backend
npm install
npm run test:integration-webhooks
# - name: Run openvidu-meet backend
# run: |
# cd openvidu-meet
# ./prepare.sh
# cd backend
# npm install
# npm run test:integration-webhooks