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