@ -45,20 +45,22 @@ jobs:
paths:
- ./node_modules
test_e2e:
docker:
- image: postgres:9.6-jessie
database:
- image: circleci/postgres:9.6.2-alpine
environment:
POSTGRES_USER: e2e
POSTGRES_USER: psqluser
POSTGRES_PASSWORD: psqlpassword
POSTGRES_DB: psdb
steps:
- run:
command: yarn test:e2e
DATABASE_URL: postgres://$POSTGRES_USER@localhost:5432/$POSTGRES_DB
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
- checkout
workflows: