Skip to content

Commit 2fd4062

Browse files
committed
Fix test action with no opcache
I won't ever not get this wrong. -.-
1 parent 5150641 commit 2fd4062

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/test-linux/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ runs:
4040
fi
4141
export SKIP_IO_CAPTURE_TESTS=1
4242
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
43-
${{ inputs.enableOpcache == 'true' && '-d zend_extension=opcache.so -d opcache.enable_cli=1' }} \
43+
${{ inputs.enableOpcache == 'true' && '-d zend_extension=opcache.so -d opcache.enable_cli=1' || '' }} \
4444
-d opcache.jit=${{ inputs.jitType }} \
4545
-d opcache.jit_buffer_size=16M \
4646
${{ inputs.idleCpu == 'true' && '-j$(($(/usr/bin/nproc) - 1))' || '-j$(/usr/bin/nproc)' }} \

.github/actions/test-macos/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
export SKIP_IO_CAPTURE_TESTS=1
1919
export CI_NO_IPV6=1
2020
sapi/cli/php run-tests.php -P -q ${{ inputs.runTestsParameters }} \
21-
${{ inputs.enableOpcache == 'true' && '-d zend_extension=opcache.so -d opcache.enable_cli=1' }} \
21+
${{ inputs.enableOpcache == 'true' && '-d zend_extension=opcache.so -d opcache.enable_cli=1' || '' }} \
2222
-d opcache.jit=${{ inputs.jitType }} \
2323
-d opcache.jit_buffer_size=16M \
2424
-j$(($(sysctl -n hw.ncpu) - 1)) \

0 commit comments

Comments
 (0)