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