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 47
47
- name : Checkout source code
48
48
uses : actions/checkout@v4
49
49
- name : Install WordPress Test Suite
50
- run : bash bin/ install-wp-tests.sh wordpress_tests root root 127.0.0.1 latest true
50
+ run : composer install-wp-tests
51
51
- name : Install Composer dependencies
52
52
run : composer install --prefer-dist --no-progress --no-suggest --no-dev
53
53
- name : Run phpunit
Original file line number Diff line number Diff line change 49
49
"phpcs" : " phpcs --standard=phpcs.xml --extensions=php -s -d memory_limit=-1" ,
50
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
51
"phpstan" : " phpstan analyse --memory-limit=-1" ,
52
- "install-wp-tests" : " bash bin/install-wp-tests.sh wordpress_test root '' localhost latest"
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" : {
55
55
"php" : " >=7.4" ,
You can’t perform that action at this time.
0 commit comments