chore(gitlab-ci): link postgres service to job
This commit is contained in:
parent
2082979ace
commit
f75ee28f3b
@ -7,9 +7,6 @@ default:
|
||||
- .stack
|
||||
- .stack-work
|
||||
|
||||
services:
|
||||
- postgres:latest
|
||||
|
||||
variables:
|
||||
STACK_ROOT: "${CI_PROJECT_DIR}/.stack"
|
||||
CHROME_BIN: "/usr/bin/chromium-browser"
|
||||
@ -177,6 +174,9 @@ hlint:
|
||||
- $CI_COMMIT_REF_NAME =~ /^v[0-9].*/
|
||||
|
||||
yesod:test:
|
||||
services:
|
||||
- postgres:10.10
|
||||
|
||||
stage: test
|
||||
script:
|
||||
- stack test --coverage --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --skip hlint
|
||||
|
||||
Loading…
Reference in New Issue
Block a user