diff --git a/.drone.yml b/.drone.yml index 35410c5..9a150ce 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,6 @@ steps: image: docker.io/library/elixir:1.18.3-otp-27 environment: MIX_ENV: test - TEST_POSTGRES_HOST: postgres commands: # Install hex package manager - mix local.hex --force diff --git a/config/test.exs b/config/test.exs index 00a6a7f..6827af6 100644 --- a/config/test.exs +++ b/config/test.exs @@ -8,7 +8,7 @@ import Config config :mv, Mv.Repo, username: "postgres", password: "postgres", - hostname: System.get_env("TEST_POSTGRES_HOST", "localhost"), + hostname: "localhost", database: "mv_test#{System.get_env("MIX_TEST_PARTITION")}", pool: Ecto.Adapters.SQL.Sandbox, pool_size: System.schedulers_online() * 2