diff --git a/Justfile b/Justfile index 13e8a01..f44be78 100644 --- a/Justfile +++ b/Justfile @@ -28,7 +28,7 @@ audit: mix deps.audit mix hex.audit -test: +test: install-dependencies start-database mix test format: diff --git a/config/test.exs b/config/test.exs index 00a6a7f..68beeb0 100644 --- a/config/test.exs +++ b/config/test.exs @@ -9,6 +9,7 @@ config :mv, Mv.Repo, username: "postgres", password: "postgres", hostname: System.get_env("TEST_POSTGRES_HOST", "localhost"), + port: 5000, database: "mv_test#{System.get_env("MIX_TEST_PARTITION")}", pool: Ecto.Adapters.SQL.Sandbox, pool_size: System.schedulers_online() * 2