|
|
@ -69,13 +69,6 @@ jobs: |
|
|
|
|
|
|
|
|
DATABASETest : |
|
|
DATABASETest : |
|
|
docker: |
|
|
docker: |
|
|
- image: cimg/node:14.15.0 # the primary container, where your job's commands are run |
|
|
|
|
|
auth: |
|
|
|
|
|
username: $AUTH_DOCKER |
|
|
|
|
|
password: $PSW_DOCKER # context / project UI env-var reference |
|
|
|
|
|
environment: |
|
|
|
|
|
POSTGRES_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb |
|
|
|
|
|
|
|
|
|
|
|
- image: circleci/postgres:9.6-alpine |
|
|
- image: circleci/postgres:9.6-alpine |
|
|
auth: |
|
|
auth: |
|
|
username: $AUTH_DOCKER |
|
|
username: $AUTH_DOCKER |
|
|
@ -84,7 +77,7 @@ jobs: |
|
|
POSTGRES_USER: root |
|
|
POSTGRES_USER: root |
|
|
POSTGRES_DB: test |
|
|
POSTGRES_DB: test |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
|
|
|
- checkout |
|
|
|
|
|
- restore_cache: |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
- run: yarn test:e2e |
|
|
|
|
|
|
|
|
- run: yarn test:e2e |