Skip to content

Commit a9613f8

Browse files
committed
pg config
1 parent 184e331 commit a9613f8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/elixir_tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
image: "postgres:17-alpine"
2525
env:
2626
POSTGRES_PASSWORD: password
27+
POSTGRES_DB: electric
2728
options: >-
2829
--health-cmd pg_isready
2930
--health-interval 10s
@@ -35,6 +36,11 @@ jobs:
3536
steps:
3637
- uses: actions/checkout@v4
3738

39+
- name: "Set PG settings"
40+
run: |
41+
docker exec ${{ job.services.postgres.id }} sh -c 'echo "wal_level=logical" >> /var/lib/postgresql/data/postgresql.conf'
42+
docker restart ${{ job.services.postgres.id }}
43+
3844
- uses: erlef/setup-beam@v1
3945
with:
4046
version-type: strict

0 commit comments

Comments
 (0)