File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 2020 extensions : curl, mbstring
2121 tools : composer:v2
2222 - run : composer install
23- - run : composer test
23+ - run : composer test-ci
Original file line number Diff line number Diff line change 5151 "phpstan/phpstan" : " ^2.1" ,
5252 "phpunit/phpunit" : " ^9.6" ,
5353 "rregeer/phpunit-coverage-check" : " ^0.3.1" ,
54+ "spatie/phpunit-watcher" : " ^1.23 || ^1.24" ,
5455 "squizlabs/php_codesniffer" : " ^3.11"
5556 },
5657 "config" : {
6162 "sort-packages" : true
6263 },
6364 "scripts" : {
64- "test" : " phpunit" ,
65+ "test" : " vendor/bin/phpunit-watcher watch" ,
66+ "test-ci" : " phpunit" ,
6567 "test-coverage" : " rm -f clover.xml && XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html=coverage --coverage-clover=clover.xml && vendor/bin/coverage-check clover.xml 100" ,
6668 "test-server" : " echo \" Running Test Server\" && php -S localhost:8000 -t tests/server/" ,
6769 "test-server-v2" : " echo \" Running Test Server\" && php -S localhost:8000 -t tests/server-v2/" ,
Original file line number Diff line number Diff line change 1+ hideManual : true
2+ watch :
3+ directories :
4+ - tests
5+ - flight
6+ fileMask : ' *.php'
7+ notifications :
8+ passingTests : false
9+ failingTests : false
10+ phpunit :
11+ binaryPath : ./vendor/bin/phpunit
12+ arguments : ' --stop-on-failure'
13+ timeout : 180
You can’t perform that action at this time.
0 commit comments