Skip to content

Commit

Permalink
add postgres service for test
Browse files Browse the repository at this point in the history
  • Loading branch information
btkostner committed Jan 18, 2024
1 parent c3e5fcf commit 0afed60
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Expand Up @@ -89,6 +89,16 @@ jobs:
env:
MIX_ENV: test

services:
postgres:
image: postgres:16-alpine
ports:
- 5432:5432
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_INITDB_ARGS: "--nosync"

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 0afed60

Please sign in to comment.