From a64eb30a615f316c79f813d49ea761bfed73bb73 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Fri, 17 Oct 2025 17:02:38 +0200 Subject: [PATCH 1/2] Check PHP configuration --- .github/workflows/tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cff6d8792a..fa67d1a8ba 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,6 +54,9 @@ jobs: - uses: "ramsey/composer-install@v3" + - name: "Check PHP configuration" + run: "vendor/bin/phpunit --check-php-configuration" + - name: "Tests" run: "make tests" @@ -83,6 +86,9 @@ jobs: - uses: "ramsey/composer-install@v3" + - name: "Check PHP configuration" + run: "vendor/bin/phpunit --check-php-configuration" + - name: "Tests" run: "make tests-integration" @@ -141,6 +147,9 @@ jobs: - uses: "ramsey/composer-install@v3" + - name: "Check PHP configuration" + run: "vendor/bin/phpunit --check-php-configuration" + - name: "Tests" run: "${{ matrix.script }}" From 37b0822814af2ec4508b9152869af734d52f883b Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Fri, 17 Oct 2025 17:02:58 +0200 Subject: [PATCH 2/2] No memory_limit for tests as PHPUnit recommends --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fa67d1a8ba..976571c5cf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -50,7 +50,7 @@ jobs: tools: pecl extensions: ds,mbstring ini-file: development - ini-values: memory_limit=2G + ini-values: memory_limit=-1 - uses: "ramsey/composer-install@v3" @@ -82,7 +82,7 @@ jobs: tools: pecl extensions: ds,mbstring ini-file: development - ini-values: memory_limit=1G + ini-values: memory_limit=-1 - uses: "ramsey/composer-install@v3" @@ -143,7 +143,7 @@ jobs: tools: pecl extensions: ds,mbstring ini-file: development - ini-values: memory_limit=1G + ini-values: memory_limit=-1 - uses: "ramsey/composer-install@v3"