postgres host
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
halfdan committed 2025-01-28 16:49:09 +01:00
1 parent d9e08021e8
commit 4af59ed652
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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,