From d1c36df6ee360e91f6b5e47c2126a9297285415f Mon Sep 17 00:00:00 2001 From: Neel Coffin Date: Mon, 2 Nov 2020 12:02:50 +0100 Subject: [PATCH] fix ident --- .circleci/config.yml | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 11aa9a6..829a9a6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,30 +45,20 @@ jobs: paths: - ./node_modules - database: - docker: - - image: circleci/postgres:9.6.2-alpine + test_e2e: + docker: + - image: postgres:9.6-jessie environment: - POSTGRES_USER: psqluser - POSTGRES_PASSWORD: psqlpassword + POSTGRES_USER: e2e POSTGRES_DB: psdb - steps: - - checkout - - restore_cache: - name: restore yarn package cache - key: yarn-packages-v2{{ checksum "yarn.lock" }} - - run: - command: yarn test:e2e - environment: - DATABASE_URL: postgres://$POSTGRES_USER@localhost:5432/$POSTGRES_DB - API_PORT: 3000 - API_HOST: localhost - API_PROTOCOL: http - - save_cache: - name: save yarn package cache - key: yarn-packages-v2{{ checksum "yarn.lock" }} - paths: - - ./node_modules + steps: + - 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: