Skip to content

Commit

Permalink
chore: fix postgres replication ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziinc committed Jul 25, 2024
1 parent d276894 commit 7d47fb2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/elixir-migration-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:
branches: [main]
paths:
- 'priv/repo/migrations/**'
- "priv/repo/migrations/**"

permissions:
contents: read
Expand All @@ -16,19 +16,20 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:13
image: bitnami/postgresql:13.15.0
ports:
- 5432:5432
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: logflare_test
POSTGRESQL_WAL_LEVEL: logical
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-cmd "pg_isready -d logflare_test -U postgres -p 5432"
--health-interval 10s
--health-timeout 5s
--health-retries 5
--health-retries 10
env:
MIX_ENV: test
SHELL: /bin/bash
Expand Down

0 comments on commit 7d47fb2

Please sign in to comment.