backend: Add pre-cleanup step for problematic directories in integration tests
This commit is contained in:
parent
12223ab43c
commit
629d2093b8
29
.github/workflows/integration-test.yaml
vendored
29
.github/workflows/integration-test.yaml
vendored
@ -6,6 +6,13 @@ jobs:
|
|||||||
name: Rooms API Tests
|
name: Rooms API Tests
|
||||||
runs-on: ov-actions-runner
|
runs-on: ov-actions-runner
|
||||||
steps:
|
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
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
@ -64,6 +71,14 @@ jobs:
|
|||||||
runs-on: ov-actions-runner
|
runs-on: ov-actions-runner
|
||||||
if: false
|
if: false
|
||||||
steps:
|
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
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
@ -121,6 +136,13 @@ jobs:
|
|||||||
name: Webhook Tests
|
name: Webhook Tests
|
||||||
runs-on: ov-actions-runner
|
runs-on: ov-actions-runner
|
||||||
steps:
|
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
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
@ -177,6 +199,13 @@ jobs:
|
|||||||
name: Security API Tests
|
name: Security API Tests
|
||||||
runs-on: ov-actions-runner
|
runs-on: ov-actions-runner
|
||||||
steps:
|
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
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user