diff --git a/.circleci/config.yml b/.circleci/config.yml index 3b11774..42de7ec 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 - run: name: running test command: |