mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
upload framework
This commit is contained in:
parent
754b1ce108
commit
a1a9504f11
30 changed files with 1578 additions and 155 deletions
8
Makefile
8
Makefile
|
|
@ -1,3 +1,11 @@
|
|||
.PHONY: docker
|
||||
docker:
|
||||
docker build -t demostf/api .
|
||||
|
||||
.PHONY: testdb
|
||||
testdb:
|
||||
docker run -d --name api-test -p 5433:5432 -e POSTGRES_PASSWORD=test demostf/db
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
cd tests; DB_PORT=5433 DB_TYPE=pgsql DB_HOST=localhost DB_USERNAME=postgres DB_USERNAME=postgres DB_PASSWORD=test DB_DATABASE=postgres phpunit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue