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