File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -225,9 +225,13 @@ jobs:
225225 - name : ' PHPCS: set the path to PHP'
226226 run : php "bin/phpcs" --config-set php_path php
227227
228+ # By default, the memory limit should be disabled with setup_php, but we've seen issues with this on
229+ # PHP 5.6 in Windows, so let's set it to try and get round those issues.
228230 - name : ' PHPUnit: run the full test suite without code coverage'
229231 if : ${{ matrix.skip_tests != true }}
230- run : php "vendor/bin/phpunit" tests/AllTests.php --no-coverage
232+ run : >
233+ php "vendor/bin/phpunit" tests/AllTests.php --no-coverage
234+ ${{ matrix.os == 'windows-latest' && startsWith( matrix.php, '5.' ) && '-d memory_limit=-1' || '' }}
231235
232236 # Do one test run against the complete test suite in CBF mode to ensure all tests can run in CBF mode.
233237 - name : ' PHPUnit: run the full test suite without code coverage in CBF mode (PHP 8.3 only)'
You can’t perform that action at this time.
0 commit comments