From fff30212a2f31ef8377bb1c90f78183be391fdb3 Mon Sep 17 00:00:00 2001 From: Benjamin Gaussorgues Date: Wed, 10 Jun 2026 15:23:23 +0200 Subject: [PATCH] chore(tests): enable setup-php failure on deps Signed-off-by: Benjamin Gaussorgues --- .github/workflows/phpunit-mariadb.yml | 1 + .github/workflows/phpunit-memcached.yml | 1 + .github/workflows/phpunit-mysql-sharding.yml | 5 +++-- .github/workflows/phpunit-mysql.yml | 1 + .github/workflows/phpunit-nodb.yml | 5 +++-- .github/workflows/phpunit-object-store-primary.yml | 8 ++++---- .github/workflows/phpunit-oci.yml | 1 + .github/workflows/phpunit-pgsql.yml | 1 + .github/workflows/phpunit-sqlite.yml | 1 + 9 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/phpunit-mariadb.yml b/.github/workflows/phpunit-mariadb.yml index 9a9b646792f..b8b70029dc3 100644 --- a/.github/workflows/phpunit-mariadb.yml +++ b/.github/workflows/phpunit-mariadb.yml @@ -104,6 +104,7 @@ jobs: ini-file: development ini-values: disable_functions="" env: + fail-fast: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up dependencies diff --git a/.github/workflows/phpunit-memcached.yml b/.github/workflows/phpunit-memcached.yml index 96729c1e8dd..7aa42765fe9 100644 --- a/.github/workflows/phpunit-memcached.yml +++ b/.github/workflows/phpunit-memcached.yml @@ -88,6 +88,7 @@ jobs: ini-file: development ini-values: disable_functions="" env: + fail-fast: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up dependencies diff --git a/.github/workflows/phpunit-mysql-sharding.yml b/.github/workflows/phpunit-mysql-sharding.yml index f8c458b8e96..204b151b92e 100644 --- a/.github/workflows/phpunit-mysql-sharding.yml +++ b/.github/workflows/phpunit-mysql-sharding.yml @@ -56,8 +56,8 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.2'] - mysql-versions: ['8.4'] + php-versions: ["8.2"] + mysql-versions: ["8.4"] name: Sharding - MySQL ${{ matrix.mysql-versions }} (PHP ${{ matrix.php-versions }}) - database tests @@ -137,6 +137,7 @@ jobs: ini-file: development ini-values: disable_functions="" env: + fail-fast: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up dependencies diff --git a/.github/workflows/phpunit-mysql.yml b/.github/workflows/phpunit-mysql.yml index ffc1f9d90a3..a0f4a3f3136 100644 --- a/.github/workflows/phpunit-mysql.yml +++ b/.github/workflows/phpunit-mysql.yml @@ -104,6 +104,7 @@ jobs: ini-file: development ini-values: disable_functions="" env: + fail-fast: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up dependencies diff --git a/.github/workflows/phpunit-nodb.yml b/.github/workflows/phpunit-nodb.yml index d796c8eb2ab..3504d356875 100644 --- a/.github/workflows/phpunit-nodb.yml +++ b/.github/workflows/phpunit-nodb.yml @@ -59,9 +59,9 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.3', '8.4', '8.5'] + php-versions: ["8.3", "8.4", "8.5"] include: - - php-versions: '8.2' + - php-versions: "8.2" coverage: ${{ github.event_name != 'pull_request' }} name: No DB unit tests (PHP ${{ matrix.php-versions }}) @@ -92,6 +92,7 @@ jobs: # Required for tests that use pcntl ini-values: disable_functions="" env: + fail-fast: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up dependencies diff --git a/.github/workflows/phpunit-object-store-primary.yml b/.github/workflows/phpunit-object-store-primary.yml index b7187d349a0..0b1e0106b71 100644 --- a/.github/workflows/phpunit-object-store-primary.yml +++ b/.github/workflows/phpunit-object-store-primary.yml @@ -49,8 +49,8 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.2'] - key: ['s3', 's3-multibucket'] + php-versions: ["8.2"] + key: ["s3", "s3-multibucket"] name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio @@ -84,6 +84,7 @@ jobs: php-version: ${{ matrix.php-versions }} extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite env: + fail-fast: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up Nextcloud @@ -113,10 +114,9 @@ jobs: docker ps -a docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done - object-store-primary-summary: runs-on: ubuntu-latest-low - needs: [changes,object-store-primary-tests-minio] + needs: [changes, object-store-primary-tests-minio] if: always() diff --git a/.github/workflows/phpunit-oci.yml b/.github/workflows/phpunit-oci.yml index c53687707d9..2e524df428f 100644 --- a/.github/workflows/phpunit-oci.yml +++ b/.github/workflows/phpunit-oci.yml @@ -111,6 +111,7 @@ jobs: ini-file: development ini-values: disable_functions="" env: + fail-fast: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up dependencies diff --git a/.github/workflows/phpunit-pgsql.yml b/.github/workflows/phpunit-pgsql.yml index a7c38143156..789ac9ff0d5 100644 --- a/.github/workflows/phpunit-pgsql.yml +++ b/.github/workflows/phpunit-pgsql.yml @@ -107,6 +107,7 @@ jobs: ini-file: development ini-values: disable_functions="" env: + fail-fast: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up dependencies diff --git a/.github/workflows/phpunit-sqlite.yml b/.github/workflows/phpunit-sqlite.yml index 22236155fec..375cce658c0 100644 --- a/.github/workflows/phpunit-sqlite.yml +++ b/.github/workflows/phpunit-sqlite.yml @@ -90,6 +90,7 @@ jobs: ini-file: development ini-values: disable_functions="" env: + fail-fast: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up dependencies