Compare commits

..

1 commit

Author SHA1 Message Date
2574b9416d
Set up basic CI
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2025-04-21 13:33:50 +02:00
2 changed files with 1 additions and 2 deletions

View file

@ -14,7 +14,6 @@ steps:
image: docker.io/library/elixir:1.18.3-otp-27 image: docker.io/library/elixir:1.18.3-otp-27
environment: environment:
MIX_ENV: test MIX_ENV: test
TEST_POSTGRES_HOST: postgres
commands: commands:
# Install hex package manager # Install hex package manager
- mix local.hex --force - mix local.hex --force

View file

@ -8,7 +8,7 @@ import Config
config :mv, Mv.Repo, config :mv, Mv.Repo,
username: "postgres", username: "postgres",
password: "postgres", password: "postgres",
hostname: System.get_env("TEST_POSTGRES_HOST", "localhost"), hostname: "localhost",
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