diff --git a/.circleci/config.yml b/.circleci/config.yml index 26a4e8f..78c2fa4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,6 +25,17 @@ jobs: - run: yarn lint - run: yarn format:check + back-test-unit: + <<: *shared-config + steps: + - checkout + - restore_cache: + key: dependencies-{{ checksum "package.json" }}-v1 + - run: + command: yarn test + environment: + DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psqluer + workflows: version: 2 build-test-and-lint: @@ -32,4 +43,7 @@ workflows: - build - lint: requires : + - build + - back-test-unit: + requires: - build \ No newline at end of file