Commit dbea65f4 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Update test.exs to use a different DB hostname in CI context

parent 96814936
Pipeline #4453005 failed with stage
in 2 minutes and 41 seconds
......@@ -15,5 +15,5 @@ config :maldon, Maldon.Repo,
username: "postgres",
password: "postgres",
database: "maldon_test",
hostname: "localhost",
hostname: if(System.get_env("CI"), do: "postgres", else: "localhost"),
pool: Ecto.Adapters.SQL.Sandbox
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment