From 0ed4ffefc93036afd24cf3676a93c841d8474027 Mon Sep 17 00:00:00 2001 From: Anatole De Chauveron <54862351+Anatole-DC@users.noreply.github.com> Date: Mon, 11 Oct 2021 11:29:53 +0200 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6f55f4a..c5357d7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,6 +45,19 @@ jobs: - run: name: "yarn test" command: yarn test + + postgres: + docker: + - image: circleci/postgres:9.6.2-alpine + auth: + username: adechauveron + password: $DOCKER_PASSWORD + environment: + POSTGRES_USER: postgres + POSTGRES_DB: postgres + POSTGRES_PASSWORD: postgres + steps: + - checkout workflows: version: 2 @@ -54,3 +67,6 @@ workflows: - lint: requires: - build + - postgres: + requires: + - build