Skip to content

Commit

Permalink
use pg service
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson committed Sep 18, 2023
1 parent 72a6055 commit 3508f01
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,19 @@ jobs:
matrix:
python-version: ["3.9", "3.10", "3.11"]

services:
postgres:
image: postgres:14
env:
POSTGRES_USER: 'postgres'
POSTGRES_DB: 'anyvar_test'
POSTGRES_PASSWORD: 'postgres'
ports:
- 5432:5432

env:
ANYVAR_STORAGE_URI: "postgresql://postgres:postgres@localhost:5432/anyvar_test"

steps:
- uses: actions/checkout@v3

Expand Down

0 comments on commit 3508f01

Please sign in to comment.