From a5700d24c93764bde37e60c1dd35b2b1e1fc3d48 Mon Sep 17 00:00:00 2001 From: tianfenghan Date: Tue, 25 Aug 2026 15:10:05 +0800 Subject: [PATCH] chore(tests): update PHP configuration settings in workflow - Added precision=17 setting to all PHP configurations - Increased memory limit to 4GB for all test environments - Updated error reporting to show errors and warnings only - Enabled display of errors in console output - Disabled error logging to prevent interference with tests - Applied consistent configuration across all PHP version matrices --- .github/workflows/tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 41f461e9..fe7775a0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,6 +44,7 @@ jobs: php-version: ${{ matrix.php }} coverage: none extensions: embed + ini-values: precision=17, memory_limit=4G, error_reporting=E_ERROR|E_WARNING, display_errors=1, log_errors=0 tools: composer:v2 - name: Patch php_hash.h C++ compatibility @@ -114,7 +115,7 @@ jobs: php-version: ${{ matrix.php }} coverage: none extensions: embed, curl, redis, mbstring, ffi - ini-values: ffi.enable=1 + ini-values: ffi.enable=1, precision=17, memory_limit=4G, error_reporting=E_ERROR|E_WARNING, display_errors=1, log_errors=0 tools: composer:v2 - name: Patch php_hash.h C++ compatibility @@ -180,7 +181,7 @@ jobs: php-version: ${{ matrix.php }} coverage: none extensions: embed, curl, redis, mbstring, ffi - ini-values: ffi.enable=1 + ini-values: ffi.enable=1, precision=17, memory_limit=4G, error_reporting=E_ERROR|E_WARNING, display_errors=1, log_errors=0 tools: composer:v2 - name: Patch php_hash.h C++ compatibility