Browse Source

change env placment

main
Galimede 6 years ago
parent
commit
543c508fbb
  1. 12
      .circleci/config.yml

12
.circleci/config.yml

@ -31,6 +31,12 @@ jobs:
test_e2e: test_e2e:
docker: docker:
- image: cimg/node:12.18 - image: cimg/node:12.18
environment:
DATABASE_URL: postgres://e2e:test@localhost:5432/psdb
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
JWT_SECRET: youwontguess
- image: circleci/postgres - image: circleci/postgres
environment: environment:
POSTGRES_USER: e2e POSTGRES_USER: e2e
@ -46,12 +52,6 @@ jobs:
- run: - run:
name: Launching e2e test name: Launching e2e test
command: yarn test:e2e command: yarn test:e2e
environment:
DATABASE_URL: "postgres://e2e:test@localhost:5432/psdb"
API_PORT: 3000
API_HOST: "localhost"
API_PROTOCOL: "http"
JWT_SECRET: "youwontguess"
workflows: workflows:

Loading…
Cancel
Save