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