File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -375,6 +375,22 @@ jobs:
375
375
git rev-parse HEAD
376
376
sed -i 's/PHP_SAPI/"cli-server"/g' var/cache/dev/App_KernelDevDebugContainer.preload.php
377
377
php -d opcache.preload=var/cache/dev/App_KernelDevDebugContainer.preload.php public/index.php
378
+ - name : Test Wordpress
379
+ if : always()
380
+ run : |
381
+ git clone https://github.com/WordPress/wordpress-develop.git wordpress --depth=1
382
+ cd wordpress
383
+ git rev-parse HEAD
384
+ export ASAN_OPTIONS=exitcode=139
385
+ php /usr/bin/composer install --no-progress --ignore-platform-reqs
386
+ cp wp-tests-config-sample.php wp-tests-config.php
387
+ sed -i 's/youremptytestdbnamehere/test/g' wp-tests-config.php
388
+ sed -i 's/yourusernamehere/root/g' wp-tests-config.php
389
+ sed -i 's/yourpasswordhere/root/g' wp-tests-config.php
390
+ php vendor/bin/phpunit || EXIT_CODE=$?
391
+ if [ $EXIT_CODE -gt 128 ]; then
392
+ exit 1
393
+ fi
378
394
OPCACHE_VARIATION :
379
395
needs : GENERATE_MATRIX
380
396
if : ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }}
You can’t perform that action at this time.
0 commit comments