File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 - name : Run PHP linter
2828 run : |
2929 npm run wp-env start
30- npm run lint:php
30+ npm run lint:php:ci
3131
3232 tests :
3333 name : Tests
Original file line number Diff line number Diff line change 6161 "lint:js-fix" : " wp-scripts lint-js --fix" ,
6262 "lint:md-docs" : " wp-scripts lint-md-docs" ,
6363 "lint:pkg-json" : " wp-scripts lint-pkg-json" ,
64- "lint:php" : " npm run wp-env run composer run-script lint" ,
64+ "lint:php" : " wp-env run --env-cwd='wp-content/plugins/wp-bootstrap-blocks' cli composer run-script lint" ,
65+ "lint:php:ci" : " wp-env run --env-cwd='wp-content/plugins/bootstrap-blocks-wordpress-plugin' cli composer run-script lint" ,
6566 "playwright" : " playwright" ,
6667 "test:e2e" : " wp-scripts test-playwright" ,
6768 "test:e2e-interactive" : " wp-scripts test-playwright --ui" ,
6869 "test:unit:js" : " wp-scripts test-unit-js" ,
69- "test:unit:php" : " npm run wp-env run tests-cli phpunit -- -c /var/www/html/wp-content/plugins/wp-bootstrap-blocks/phpunit.xml.dist --verbose" ,
70- "test:unit:php:ci" : " npm run wp-env run tests-cli phpunit -- ' -c /var/www/html/wp-content/plugins/bootstrap-blocks-wordpress-plugin/phpunit.xml.dist --verbose' " ,
70+ "test:unit:php" : " wp-env run tests-cli phpunit -- -c /var/www/html/wp-content/plugins/wp-bootstrap-blocks/phpunit.xml.dist --verbose" ,
71+ "test:unit:php:ci" : " wp-env run tests-cli phpunit -- -c /var/www/html/wp-content/plugins/bootstrap-blocks-wordpress-plugin/phpunit.xml.dist --verbose" ,
7172 "cy:run" : " cypress run" ,
7273 "cy:open" : " cypress open"
7374 }
You can’t perform that action at this time.
0 commit comments