Added test-coverage:win script

pull/540/head
fadrian06 12 months ago
parent b2d7164be0
commit be6a3fc7d6

@ -55,6 +55,7 @@
"scripts": {
"test": "phpunit",
"test-coverage": "rm clover.xml && XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html=coverage --coverage-clover=clover.xml && vendor/bin/coverage-check clover.xml 100",
"test-coverage:win": "del clover.xml && phpunit --coverage-html=coverage --coverage-clover=clover.xml && coverage-check clover.xml 100",
"lint": "phpstan --no-progress -cphpstan.neon",
"beautify": "phpcbf --standard=phpcs.xml",
"phpcs": "phpcs --standard=phpcs.xml -n"

@ -53,6 +53,11 @@
"name": "Format",
"quiet": true,
"shell_cmd": "composer beautify -- --no-colors"
},
{
"name": "Test coverage",
"quiet": true,
"shell_cmd": "composer test-coverage:win -- --no-colors"
}
],
}

Loading…
Cancel
Save