Skip to content

Commit

Permalink
Last try!
Browse files Browse the repository at this point in the history
  • Loading branch information
michalwarda committed Feb 17, 2024
1 parent c5cc57d commit cb4fd53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

services:
postgres:
image: postgres
image: ankane/pgvector:latest
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand Down
4 changes: 2 additions & 2 deletions apps/api/config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ config :bcrypt_elixir, :log_rounds, 1
# to provide built-in test partitioning in CI environment.
# Run `mix help test` for more information.
config :buildel, Buildel.Repo,
hostname: System.get_env("POSTGRES_HOST", "localhost"),
port: String.to_integer(System.get_env("POSTGRES_PORT", "54321")),
username: System.get_env("POSTGRES_USER", "postgres"),
password: System.get_env("POSTGRES_PASSWORD", "postgres"),
hostname: System.get_env("POSTGRES_HOST", "localhost"),
database: "buildel_test#{System.get_env("MIX_TEST_PARTITION")}",
port: String.to_integer(System.get_env("POSTGRES_PORT", "54321")),
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: 10

Expand Down

0 comments on commit cb4fd53

Please sign in to comment.