|
|
@ -26,7 +26,7 @@ jobs: |
|
|
FLASK_DEBUG: 1 |
|
|
FLASK_DEBUG: 1 |
|
|
DATABASE_URL: postgresql://myUsr:somePwd@localhost:5432/psdb |
|
|
DATABASE_URL: postgresql://myUsr:somePwd@localhost:5432/psdb |
|
|
- image: circleci/postgres:9.6.5-alpine |
|
|
- image: circleci/postgres:9.6.5-alpine |
|
|
name: postgresql |
|
|
|
|
|
|
|
|
name: postgres |
|
|
environment: |
|
|
environment: |
|
|
POSTGRES_USER: myUsr |
|
|
POSTGRES_USER: myUsr |
|
|
POSTGRES_DB: psdb |
|
|
POSTGRES_DB: psdb |
|
|
@ -35,6 +35,9 @@ jobs: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
key: deps1-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} |
|
|
key: deps1-{{ .Branch }}-{{ checksum "requirements/dev.txt" }} |
|
|
|
|
|
- run: |
|
|
|
|
|
name: 'Wait for Hasura' |
|
|
|
|
|
command: dockerize -wait tcp://localhost:5432 -timeout 1m |
|
|
- run: |
|
|
- run: |
|
|
name: running test |
|
|
name: running test |
|
|
command: | |
|
|
command: | |
|
|
|