Skip to content

Commit 8a7dd61

Browse files
authored
Merge pull request #117 from wp-cli/fix/behat-error-reporting
2 parents e7cf2a0 + 9da13a8 commit 8a7dd61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/reusable-testing.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ jobs:
319319
uses: shivammathur/setup-php@v2
320320
with:
321321
php-version: '${{ matrix.php }}'
322-
ini-values: zend.assertions=1, error_reporting=-1, display_errors=On
322+
# Disable error reporting for Behat tests on PHP 8.4+, as long as Behat is not upgraded to a newer version.
323+
ini-values: ${{ matrix.php != '8.4' && matrix.php != 'nightly' && 'zend.assertions=1, error_reporting=-1, display_errors=On' || '' }}
323324
extensions: gd, imagick, mysql, zip
324325
coverage: none
325326
tools: composer

0 commit comments

Comments
 (0)