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