Add make test command
This commit is contained in:
18
docker-compose.test.yml
Normal file
18
docker-compose.test.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
postgres:
|
||||
restart: "no"
|
||||
environment:
|
||||
POSTGRES_DB: mobilizon_test
|
||||
front:
|
||||
restart: "no"
|
||||
api:
|
||||
restart: "no"
|
||||
environment:
|
||||
MIX_ENV: "test"
|
||||
MOBILIZON_DATABASE_DBNAME: mobilizon_test
|
||||
command: "mix test"
|
||||
volumes:
|
||||
pgdata:
|
||||
.:
|
||||
Reference in New Issue
Block a user