From 72f6632c92eedbab9532d14e68850485061c93a8 Mon Sep 17 00:00:00 2001 From: Anatole De Chauveron <54862351+Anatole-DC@users.noreply.github.com> Date: Mon, 11 Oct 2021 11:38:02 +0200 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c5357d7..573ce48 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -58,6 +58,20 @@ jobs: POSTGRES_PASSWORD: postgres steps: - checkout + + end_to_end_tests: + docker: + - image: cimg/node:16.10.0 + auth: + username: adechauveron + password: $DOCKER_PASSWORD + steps: + - checkout + - run: + name: "yarn test" + command: yarn test:e2e + environment: + DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres workflows: version: 2 @@ -70,3 +84,7 @@ workflows: - postgres: requires: - build + - end_to_end_tests: + requires: + - lint + - postgres