diff --git a/Makefile b/Makefile index fbde37c2d..bf1730a10 100644 --- a/Makefile +++ b/Makefile @@ -81,8 +81,8 @@ dockerdown: testfull: build docker-compose up -d sleep 2 - ./lily migrate --latest - -TZ= PGSSLMODE=disable go test ./... -v + LILY_DB="postgres://postgres:password@localhost:5432/postgres?sslmode=disable" ./lily migrate --latest + -TZ= PGSSLMODE=disable LILY_TEST_DB="postgres://postgres:password@localhost:5432/postgres?sslmode=disable" go test ./... -v docker-compose down # testshort runs tests that don't require external dependencies such as postgres or redis