File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 3636 # Docs: https://getcomposer.org/doc/articles/scripts.md
3737
3838 - name : Run test suite
39- run : composer run-script test && \
40- ./vendor/bin/coverage-check clover.xml 80 --only-percentage
39+ run : composer run-script test && composer run-script check-coverage
40+
Original file line number Diff line number Diff line change 3939 "rregeer/phpunit-coverage-check" : " ^0.3.1"
4040 },
4141 "scripts" : {
42- "test" : " XDEBUG_MODE=coverage ./vendor/bin/phpunit"
42+ "test" : " XDEBUG_MODE=coverage ./vendor/bin/phpunit" ,
43+ "check-coverage" : " ./vendor/bin/coverage-check ./build/coverage-clover.xml 85"
4344 },
4445 "scripts-descriptions" : {
4546 "test" : " Run PHPUNIT tests"
Original file line number Diff line number Diff line change 2525 <report >
2626 <text outputFile =" php://stdout" />
2727 <html outputDirectory =" build/coverage" />
28- <clover outputFile =" clover.xml" />
28+ <clover outputFile =" build/coverage- clover.xml" />
2929 </report >
3030 </coverage >
3131</phpunit >
You can’t perform that action at this time.
0 commit comments