backend: Remove pre-cleanup step for problematic directories in integration tests and add cleanup of OpenVidu Meet directory
This commit is contained in:
parent
629d2093b8
commit
72981f84be
6
.github/actions/cleanup/action.yaml
vendored
6
.github/actions/cleanup/action.yaml
vendored
@ -35,4 +35,10 @@ runs:
|
||||
df -h
|
||||
free -h
|
||||
docker ps -a
|
||||
shell: bash
|
||||
- name: Remove OpenVidu Meet directory
|
||||
run: |
|
||||
if [ -d "/__w/openvidu-meet/openvidu-meet" ]; then
|
||||
sudo rm -rf /__w/openvidu-meet/openvidu-meet
|
||||
fi
|
||||
shell: bash
|
||||
29
.github/workflows/integration-test.yaml
vendored
29
.github/workflows/integration-test.yaml
vendored
@ -6,13 +6,6 @@ jobs:
|
||||
name: Rooms API Tests
|
||||
runs-on: ov-actions-runner
|
||||
steps:
|
||||
- name: Pre-cleanup problematic directories
|
||||
run: |
|
||||
# Check if directory exists and clean it up with elevated permissions
|
||||
if [ -d "/__w/openvidu-meet/openvidu-meet/openvidu-local-deployment" ]; then
|
||||
sudo rm -rf /__w/openvidu-meet/openvidu-meet/openvidu-local-deployment
|
||||
fi
|
||||
continue-on-error: true
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
@ -71,14 +64,6 @@ jobs:
|
||||
runs-on: ov-actions-runner
|
||||
if: false
|
||||
steps:
|
||||
- name: Pre-cleanup problematic directories
|
||||
run: |
|
||||
# Check if directory exists and clean it up with elevated permissions
|
||||
if [ -d "/__w/openvidu-meet/openvidu-meet/openvidu-local-deployment" ]; then
|
||||
sudo rm -rf /__w/openvidu-meet/openvidu-meet/openvidu-local-deployment
|
||||
fi
|
||||
continue-on-error: true
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
@ -136,13 +121,6 @@ jobs:
|
||||
name: Webhook Tests
|
||||
runs-on: ov-actions-runner
|
||||
steps:
|
||||
- name: Pre-cleanup problematic directories
|
||||
run: |
|
||||
# Check if directory exists and clean it up with elevated permissions
|
||||
if [ -d "/__w/openvidu-meet/openvidu-meet/openvidu-local-deployment" ]; then
|
||||
sudo rm -rf /__w/openvidu-meet/openvidu-meet/openvidu-local-deployment
|
||||
fi
|
||||
continue-on-error: true
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
@ -199,13 +177,6 @@ jobs:
|
||||
name: Security API Tests
|
||||
runs-on: ov-actions-runner
|
||||
steps:
|
||||
- name: Pre-cleanup problematic directories
|
||||
run: |
|
||||
# Check if directory exists and clean it up with elevated permissions
|
||||
if [ -d "/__w/openvidu-meet/openvidu-meet/openvidu-local-deployment" ]; then
|
||||
sudo rm -rf /__w/openvidu-meet/openvidu-meet/openvidu-local-deployment
|
||||
fi
|
||||
continue-on-error: true
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user