chore(gitlab-ci): also link postgres to test:dev

This commit is contained in:
Gregor Kleen 2019-11-11 12:05:02 +01:00
parent f75ee28f3b
commit 79f9890a4a

View File

@ -1,5 +1,6 @@
default: default:
image: fpco/stack-build:lts-13.21 image:
name: fpco/stack-build:lts-13.21
cache: cache:
key: "${CI_COMMIT_REF_SLUG}" key: "${CI_COMMIT_REF_SLUG}"
paths: paths:
@ -138,6 +139,10 @@ hlint:dev:
- $CI_COMMIT_REF_NAME !~ /^v[0-9].*/ - $CI_COMMIT_REF_NAME !~ /^v[0-9].*/
yesod:test:dev: yesod:test:dev:
services:
- name: postgres:10.10
alias: postgres
stage: test stage: test
script: script:
- stack test --coverage --fast --flag uniworx:-library-only --flag uniworx:dev --flag uniworx:pedantic --skip hlint - stack test --coverage --fast --flag uniworx:-library-only --flag uniworx:dev --flag uniworx:pedantic --skip hlint
@ -175,7 +180,8 @@ hlint:
yesod:test: yesod:test:
services: services:
- postgres:10.10 - name: postgres:10.10
alias: postgres
stage: test stage: test
script: script: