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: