summaryrefslogtreecommitdiffstats
path: root/.github/workflows/s3-primary.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/s3-primary.yml')
-rw-r--r--.github/workflows/s3-primary.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/s3-primary.yml b/.github/workflows/s3-primary.yml
index 3ea21b768ec..809e26a8e38 100644
--- a/.github/workflows/s3-primary.yml
+++ b/.github/workflows/s3-primary.yml
@@ -49,6 +49,13 @@ jobs:
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f index.php
+ - name: Wait for S3
+ run: |
+ sleep 10
+ curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 1 http://localhost:9000/minio/health/ready
+ sleep 10
+ curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 1 http://localhost:9000/minio/health/ready
+
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB