From 922c3e01c7fb154cb7893a9dd7c576be8dcf1ffa Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 12 Dec 2025 18:37:42 +0100 Subject: [PATCH] chore: diable composer timeout Signed-off-by: Ferdinand Thiessen --- .github/workflows/phpunit-32bits.yml | 2 -- composer.json | 5 ++++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/phpunit-32bits.yml b/.github/workflows/phpunit-32bits.yml index a788cc712a4..5b8f2626272 100644 --- a/.github/workflows/phpunit-32bits.yml +++ b/.github/workflows/phpunit-32bits.yml @@ -42,8 +42,6 @@ jobs: uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest with: args: /bin/sh -c " - apt-get update && - apt-get install -y unzip && git config --global --add safe.directory /github/workspace && composer install --no-interaction" diff --git a/composer.json b/composer.json index 76d4c2ae4eb..33520b1bd7a 100644 --- a/composer.json +++ b/composer.json @@ -71,7 +71,10 @@ "Composer\\Config::disableProcessTimeout", "PHP_CLI_SERVER_WORKERS=${NEXTCLOUD_WORKERS:=4} php -S ${NEXTCLOUD_HOST:=localhost}:${NEXTCLOUD_PORT:=8080} -t ./" ], - "test": "phpunit --fail-on-warning --fail-on-risky --display-warnings --display-deprecations --display-phpunit-deprecations --colors=always --configuration tests/phpunit-autotest.xml", + "test": [ + "Composer\\Config::disableProcessTimeout", + "phpunit --fail-on-warning --fail-on-risky --display-warnings --display-deprecations --display-phpunit-deprecations --colors=always --configuration tests/phpunit-autotest.xml" + ], "test:db": "@composer run test -- --group DB --group SLOWDB", "test:files_external": "phpunit --fail-on-warning --fail-on-risky --display-warnings --display-deprecations --display-phpunit-deprecations --colors=always --configuration tests/phpunit-autotest-external.xml", "rector": "rector --config=build/rector.php && composer cs:fix",