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