Skip to content

Commit

Permalink
phpunit code coverage / composer scripts added.
Browse files Browse the repository at this point in the history
  • Loading branch information
syslogic committed Feb 7, 2023
1 parent 72ff8a1 commit 2934ce6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}],
"scripts": {
"test": "vendor/bin/phpunit --bootstrap vendor/autoload.php --configuration phpunit.xml --testsuite main",
"start": [ "Composer\\Config::disableProcessTimeout", "FUNCTION_TARGET=on_https php -S localhost:${PORT:-8081} vendor/bin/router.php"],
"start": [ "Composer\\Config::disableProcessTimeout", "FUNCTION_TARGET=on_https php -S localhost:${PORT:-8081} vendor/bin/router.php" ],
"coverage_linux": "export XDEBUG_MODE=coverage && vendor/bin/phpunit --bootstrap vendor/autoload.php --configuration coverage.xml --testsuite main",
"coverage_windows": "setlocal xdebug.mode=coverage && %cd%/vendor/bin/phpunit --bootstrap vendor/autoload.php --configuration coverage.xml --testsuite main"
},
Expand All @@ -47,7 +47,6 @@
"phpunit/php-code-coverage": "^9.2.24",
"google/cloud-tools": "^0.13.0"
},

"autoload": {
"psr-4": {
"CloudFunctions\\": "src"
Expand Down

0 comments on commit 2934ce6

Please sign in to comment.