Skip to content

Commit

Permalink
Add Postgres service to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jbhannah committed Nov 27, 2024
1 parent 53a551b commit aa29270
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@ jobs:
needs:
- install

services:
postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
options: --health-cmd=pg_isready --health-interval=10s --health-timeout=5s --health-retries=3

steps:
- name: Install packages
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y curl libjemalloc2 libvips postgresql-client
Expand Down

0 comments on commit aa29270

Please sign in to comment.