Merge pull request 'Fix postgres port in CI' (#83) from fix-ci-postgres-port into main
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #83
This commit is contained in:
rafael 2025-06-18 14:01:17 +02:00
commit 34bb3fde04
2 changed files with 2 additions and 1 deletions

View file

@ -55,6 +55,7 @@ steps:
environment:
MIX_ENV: test
TEST_POSTGRES_HOST: postgres
TEST_POSTGRES_PORT: 5432
commands:
# Install hex package manager
- mix local.hex --force

View file

@ -9,7 +9,7 @@ config :mv, Mv.Repo,
username: "postgres",
password: "postgres",
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")}",
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: System.schedulers_online() * 2