Skip to content

Commit

Permalink
Test against multiple postgres versions and change test db to postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlamallama committed Oct 10, 2023
1 parent df9a32c commit ac054e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
postgres_version: ['12', '13', '14']
services:
postgres:
db:
image: postgres:${{ matrix.postgres_version }}
env:
POSTGRES_DB: flow_results
Expand Down
2 changes: 1 addition & 1 deletion flow_results/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"default": dj_database_url.config(
default=os.environ.get(
"DATABASE_URL",
"postgres://postgres@postgres/flow_results",
"postgres://postgres@db/flow_results",
),
engine="django.db.backends.postgresql",
)
Expand Down

0 comments on commit ac054e8

Please sign in to comment.