File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 53
53
- name : Install Composer dependencies
54
54
run : composer install --prefer-dist --no-progress --no-suggest --no-dev
55
55
- name : Run phpunit
56
- run : phpunit
56
+ run : composer phpunit
57
57
phpstan :
58
58
name : PHPStan on PHP 8.0
59
59
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 47
47
"scripts" : {
48
48
"format" : " phpcbf --standard=phpcs.xml --report-summary --report-source" ,
49
49
"phpcs" : " phpcs --standard=phpcs.xml --extensions=php -s -d memory_limit=-1" ,
50
- "test" : " [ -z \" $WP_TESTS_DIR\" ] || [ -z \" $WP_CORE_DIR\" ] && echo 'Error: Both WP_TESTS_DIR and WP_CORE_DIR must be defined.' && exit 1 || phpunit --configuration=phpunit.xml" ,
51
50
"phpstan" : " phpstan analyse --memory-limit=-1" ,
51
+ "phpunit" : " phpunit --configuration=phpunit.xml" ,
52
52
"install-wp-tests" : " bash bin/install-wp-tests.sh wordpress_tests root root 127.0.0.1 latest true"
53
53
},
54
54
"require" : {
You can’t perform that action at this time.
0 commit comments