Compare commits
3 commits
60cdbf41e9
...
a0562f1f08
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0562f1f08 | ||
| 34bb3fde04 | |||
| 3730ba22a5 |
3 changed files with 2 additions and 2 deletions
|
|
@ -55,6 +55,7 @@ steps:
|
||||||
environment:
|
environment:
|
||||||
MIX_ENV: test
|
MIX_ENV: test
|
||||||
TEST_POSTGRES_HOST: postgres
|
TEST_POSTGRES_HOST: postgres
|
||||||
|
TEST_POSTGRES_PORT: 5432
|
||||||
commands:
|
commands:
|
||||||
# Install hex package manager
|
# Install hex package manager
|
||||||
- mix local.hex --force
|
- mix local.hex --force
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ config :mv, Mv.Repo,
|
||||||
username: "postgres",
|
username: "postgres",
|
||||||
password: "postgres",
|
password: "postgres",
|
||||||
hostname: System.get_env("TEST_POSTGRES_HOST", "localhost"),
|
hostname: System.get_env("TEST_POSTGRES_HOST", "localhost"),
|
||||||
port: 5000,
|
port: System.get_env("TEST_POSTGRES_PORT", "5000"),
|
||||||
database: "mv_test#{System.get_env("MIX_TEST_PARTITION")}",
|
database: "mv_test#{System.get_env("MIX_TEST_PARTITION")}",
|
||||||
pool: Ecto.Adapters.SQL.Sandbox,
|
pool: Ecto.Adapters.SQL.Sandbox,
|
||||||
pool_size: System.schedulers_online() * 2
|
pool_size: System.schedulers_online() * 2
|
||||||
|
|
|
||||||
1
mix.exs
1
mix.exs
|
|
@ -33,7 +33,6 @@ defmodule Mv.MixProject do
|
||||||
# Type `mix help deps` for examples and options.
|
# Type `mix help deps` for examples and options.
|
||||||
defp deps do
|
defp deps do
|
||||||
[
|
[
|
||||||
{:tidewave, "~> 0.1", only: [:dev]},
|
|
||||||
{:sourceror, "~> 1.8", only: [:dev, :test]},
|
{:sourceror, "~> 1.8", only: [:dev, :test]},
|
||||||
{:live_debugger, "~> 0.2", only: [:dev]},
|
{:live_debugger, "~> 0.2", only: [:dev]},
|
||||||
{:ash_admin, "~> 0.13"},
|
{:ash_admin, "~> 0.13"},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue