ex_trainer/config/test.exs
Joao P Dubas dd623a0547
Some checks failed
continuous-integration/drone/pr Build is failing
chore: adjust db conn to use injected env var
2024-09-25 10:22:34 +00:00

20 lines
476 B
Elixir

import Config
config :wabanex, Wabanex.Repo,
database: "wabanex_test#{System.get_env("MIX_TEST_PARTITION")}",
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: System.schedulers_online() * 2
config :wabanex, WabanexWeb.Endpoint,
http: [port: 4002],
server: false
config :logger, level: :warning
config :junit_formatter,
report_file: "test_report.xml",
report_dir: "report/test",
automatic_create_dir?: true,
include_filename?: true,
include_file_line?: true