From f75ee28f3b9286851dfb7db68f9041028a02154e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 11 Nov 2019 11:09:59 +0100 Subject: [PATCH] chore(gitlab-ci): link postgres service to job --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0ac55fda3..bc01c47f6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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