From e3c486375ea19887f4677a50e2aa38c95129ed7a Mon Sep 17 00:00:00 2001 From: "Craig S. Cottingham" Date: Wed, 31 Jul 2019 23:25:43 -0500 Subject: [PATCH] Set DATABASE_URL before running mix test --- .circleci/config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d1653d8..1aea936 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,8 +15,7 @@ jobs: steps: - checkout - # specify any bash command here prefixed with `run: ` - run: mix local.hex --force - run: mix local.rebar --force - run: mix deps.get - - run: mix test + - run: DATABASE_URL="postgres://postgres@localhost:5432/kerbal_maps_test" mix test