From 79f9890a4a6397172f4c23add9ae8376fa2b1e4b Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 11 Nov 2019 12:05:02 +0100 Subject: [PATCH] chore(gitlab-ci): also link postgres to test:dev --- .gitlab-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bc01c47f6..cbed5940c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ default: - image: fpco/stack-build:lts-13.21 + image: + name: fpco/stack-build:lts-13.21 cache: key: "${CI_COMMIT_REF_SLUG}" paths: @@ -138,6 +139,10 @@ hlint:dev: - $CI_COMMIT_REF_NAME !~ /^v[0-9].*/ yesod:test:dev: + services: + - name: postgres:10.10 + alias: postgres + stage: test script: - stack test --coverage --fast --flag uniworx:-library-only --flag uniworx:dev --flag uniworx:pedantic --skip hlint @@ -175,7 +180,8 @@ hlint: yesod:test: services: - - postgres:10.10 + - name: postgres:10.10 + alias: postgres stage: test script: