Skip to content

Commit

Permalink
Try to speed up tests on postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
zerolab committed Sep 25, 2023
1 parent bc3493b commit d1d97c1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,15 @@ jobs:

services:
postgres:
image: postgres:14
image: bitnami/postgresql:14
env:
POSTGRES_PASSWORD: postgres
POSTGRESQL_PASSWORD: postgres
POSTGRESQL_FSYNC: "off"
POSTGRESQL_DATA_DIR: /dev/shm/pgdata
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
options: --health-cmd "pg_isready -d postgres -U postgres -p 5432" --health-interval 10s --health-timeout 5s --health-retries 5

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit d1d97c1

Please sign in to comment.