Browse Source

Update config.yml

main
ndrg13 6 years ago
committed by GitHub
parent
commit
0ab94fde7b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      .circleci/config.yml

15
.circleci/config.yml

@ -16,6 +16,12 @@ executors:
auth: auth:
username: $DOCKERHUB_LOGIN username: $DOCKERHUB_LOGIN
password: $DOCKERHUB_PASSWORD password: $DOCKERHUB_PASSWORD
environment:
DATABASE_URL: "postgres://root@localhost:5432/psdb"
JWT_SECRET:
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
jobs: jobs:
build: build:
executor: node-executor executor: node-executor
@ -51,12 +57,7 @@ jobs:
command: yarn test:ci command: yarn test:ci
test_end_to_end: test_end_to_end:
executor: node-and-postgresql-executor executor: node-and-postgresql-executor
environment:
DATABASE_URL: "postgres://e2e:test@localhost:5432/psdb"
JWT_SECRET:
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -65,8 +66,6 @@ jobs:
- run: - run:
name: Run end to end test name: Run end to end test
command: yarn test:e2e command: yarn test:e2e
workflows: workflows:
version: 2 version: 2
integration: integration:

Loading…
Cancel
Save