From 7ca3a16527ab05bf795a7a0218212eb7bebeb068 Mon Sep 17 00:00:00 2001 From: Tiago Silva Date: Wed, 24 Feb 2021 11:53:23 -0300 Subject: [PATCH] ci: ajuste na variavel de ambiente do banco --- config/test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/test.exs b/config/test.exs index 8ac72d7..9a3295b 100644 --- a/config/test.exs +++ b/config/test.exs @@ -9,7 +9,7 @@ config :rocketpay, Rocketpay.Repo, username: "postgres", password: "postgres", database: "rocketpay_test#{System.get_env("MIX_TEST_PARTITION")}", - hostname: "localhost", + hostname: System.get_env("DB_HOST", "localhost"), pool: Ecto.Adapters.SQL.Sandbox # We don't run a server during test. If one is required,