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 @@ -366,6 +366,22 @@ jobs:
366
366
git rev-parse HEAD
367
367
sed -i 's/PHP_SAPI/"cli-server"/g' var/cache/dev/App_KernelDevDebugContainer.preload.php
368
368
php -d opcache.preload=var/cache/dev/App_KernelDevDebugContainer.preload.php public/index.php
369
+ - name : Test Wordpress
370
+ if : always()
371
+ run : |
372
+ git clone https://github.com/WordPress/wordpress-develop.git wordpress --depth=1
373
+ cd wordpress
374
+ git rev-parse HEAD
375
+ export ASAN_OPTIONS=exitcode=139
376
+ php /usr/bin/composer install --no-progress --ignore-platform-reqs
377
+ cp wp-tests-config-sample.php wp-tests-config.php
378
+ sed -i 's/youremptytestdbnamehere/test/g' wp-tests-config.php
379
+ sed -i 's/yourusernamehere/root/g' wp-tests-config.php
380
+ sed -i 's/yourpasswordhere/root/g' wp-tests-config.php
381
+ php vendor/bin/phpunit || EXIT_CODE=$?
382
+ if [ $EXIT_CODE -gt 128 ]; then
383
+ exit 1
384
+ fi
369
385
OPCACHE_VARIATION :
370
386
needs : GENERATE_MATRIX
371
387
if : ${{ needs.GENERATE_MATRIX.outputs.branches != '[]' }}
You can’t perform that action at this time.
0 commit comments