diff --git a/.circleci/config.yml b/.circleci/config.yml index b8d765e..c69b6af 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,7 +39,11 @@ jobs: - checkout - restore_cache: key: yarn-packages-v2{{ checksum "yarn.lock" }} + - run: + name: Waiting for POSTGRES + command: dockerize -wait tcp://localhost:5432 -timeout 1m - run: + name: Launching e2e test command: yarn test:e2e environment: DATABASE_URL: "postgres://e2e@localhost:5432/psdb"