1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-06-03 18:04:08 +02:00

add xdebug to flake

This commit is contained in:
Robin Appelman 2024-06-30 14:36:48 +02:00
commit 7818fdd6a5
2 changed files with 12 additions and 2 deletions

View file

@ -16,7 +16,8 @@ mocha: node_modules
.PHONY: phpunit
phpunit:
DB_PORT=5434 DB_TYPE=pgsql DB_HOST=localhost DB_USERNAME=postgres DB_USERNAME=postgres DB_PASSWORD=test DB_DATABASE=postgres ./vendor/bin/phpunit test
XDEBUG_CONFIG="idekey=PHPSTORM" XDEBUG_MODE=debug DB_PORT=5434 DB_TYPE=pgsql DB_HOST=localhost DB_USERNAME=postgres DB_USERNAME=postgres DB_PASSWORD=test DB_DATABASE=postgres \
./vendor/bin/phpunit test
.PHONY: test
tests: phpunit mocha