From 3622111bf09251769d07112f8e31eb7e2307382e Mon Sep 17 00:00:00 2001 From: Neel Coffin Date: Mon, 2 Nov 2020 12:10:21 +0100 Subject: [PATCH] test without db --- .circleci/config.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d0b6c1c..183de2f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,6 +30,7 @@ jobs: key: yarn-packages-v2{{ checksum "yarn.lock" }} paths: - ./node_modules + unit-test: docker: - image: cimg/node:14.10.1 @@ -44,23 +45,7 @@ jobs: key: yarn-packages-v2{{ checksum "yarn.lock" }} paths: - ./node_modules - - database: - docker: - - image: circleci/postgres:9.6.2-alpine - environment: - POSTGRES_USER: psqluser - POSTGRES_PASSWORD: psqlpassword - POSTGRES_DB: psdb - steps: - - checkout - - run: - command: yarn test:e2e - environment: - DATABASE_URL: postgres://$POSTGRES_USER@localhost:5432/$POSTGRES_DB - API_PORT: 3000 - API_HOST: localhost - API_PROTOCOL: http + workflows: