postgres host
This commit is contained in:
1 parent
d9e08021e8
commit
4af59ed652
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -29,7 +29,7 @@ config :tradex, Tradex.Mailer, adapter: Swoosh.Adapters.Test
|
||||
config :tradex, Tradex.Repo,
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
hostname: "localhost",
|
||||
hostname: if(System.get_env("CI") == "true", do: "postgres", else: "localhost"),
|
||||
database: "tradex_test#{System.get_env("MIX_TEST_PARTITION")}",
|
||||
pool: Ecto.Adapters.SQL.Sandbox,
|
||||
# We don't run a server during test. If one is required,
|
||||
|
||||
Reference in new issue
Block a user