chore(gitlab ci): don't expose PGHOST to postgres container

This commit is contained in:
Gregor Kleen 2019-11-11 15:22:39 +01:00
parent 79f9890a4a
commit a2c6c48af6

View File

@ -14,7 +14,6 @@ variables:
POSTGRES_DB: uniworx_test POSTGRES_DB: uniworx_test
POSTGRES_USER: uniworx POSTGRES_USER: uniworx
POSTGRES_PASSWORD: uniworx POSTGRES_PASSWORD: uniworx
PGHOST: postgres
stages: stages:
- setup - setup
@ -185,6 +184,7 @@ yesod:test:
stage: test stage: test
script: script:
- export PGHOST=postgres
- stack test --coverage --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --skip hlint - stack test --coverage --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --skip hlint
needs: needs:
- frontend:build - frontend:build