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
master
韩天峰 12 hours ago
parent 642e9a7e4b
commit a5700d24c9
  1. 5
      .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

Loading…
Cancel
Save