|
|
@ -63,16 +63,14 @@ jobs: |
|
|
- image: circleci/postgres:9.6.2-alpine |
|
|
- image: circleci/postgres:9.6.2-alpine |
|
|
environment: |
|
|
environment: |
|
|
POSTGRES_USER: psqluer |
|
|
POSTGRES_USER: psqluer |
|
|
POSTGRES_DB: psdb |
|
|
|
|
|
POSTGRES_PASSWORD: test |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
POSTGRES_DB: psdb |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
key: yarn-packages-v3{{ checksum "yarn.lock" }} |
|
|
key: yarn-packages-v3{{ checksum "yarn.lock" }} |
|
|
- run: |
|
|
|
|
|
name: Waiting for POSTGRES |
|
|
|
|
|
command: dockerize -wait tcp://localhost:5432 -timeout 1m |
|
|
|
|
|
- run: |
|
|
- run: |
|
|
name: Launching e2e test |
|
|
|
|
|
command: yarn test:e2e |
|
|
|
|
|
|
|
|
command: yarn test:e2e |
|
|
|
|
|
- save_cache: |
|
|
|
|
|
key: yarn-packages-v3{{ checksum "yarn.lock" }} |
|
|
|
|
|
paths: |
|
|
|
|
|
- ./node_modules |