We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5413e0d commit b48c8d2Copy full SHA for b48c8d2
1 file changed
.github/workflows/tests-integration.yml
@@ -230,6 +230,17 @@ jobs:
230
docker exec $NC_CONTAINER su -s /bin/bash www-data -c "php occ config:system:set auth.bruteforce.protection.enabled --value=false --type=boolean"
231
docker exec $NC_CONTAINER su -s /bin/bash www-data -c "php occ app:install spreed" || echo "spreed already installed"
232
233
+ - name: Warm up OCS API
234
+ run: |
235
+ for i in $(seq 1 10); do
236
+ if curl -sf -u admin:admin -H "OCS-APIRequest: true" http://localhost:8080/ocs/v2.php/cloud/user > /dev/null 2>&1; then
237
+ echo "OCS API is ready"
238
+ break
239
+ fi
240
+ echo "Waiting for OCS API... ($i)"
241
+ sleep 3
242
+ done
243
+
244
- name: Run user permission tests
245
env:
246
NEXTCLOUD_URL: http://localhost:8080
0 commit comments