diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index 531e81c..786520d 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -6,6 +6,13 @@ 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: @@ -64,6 +71,14 @@ 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: @@ -121,6 +136,13 @@ 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: @@ -177,6 +199,13 @@ 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: