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:
parent
764277968e
commit
7818fdd6a5
2 changed files with 12 additions and 2 deletions
3
Makefile
3
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue