Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hugorodgerbrown committed Sep 18, 2023
1 parent 3405f69 commit 60143a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: django_anonymiser
Expand All @@ -89,7 +88,7 @@ jobs:
- name: Install and run tox
env:
TOXENV: pg-only
DATABASE_URL: postgres://postgres:postgres@{env:POSTGRES_HOST:localhost}:{env.POSTGRES_PORT:5432}/{env.POSTGRES_DBNAME}
DATABASE_URL: postgres://${{env.POSTGRES_USER}}:${{env.POSTGRES_PASSWORD}}@${{env.POSTGRES_HOST}}:${{env.POSTGRES_PORT}}/${{env.POSTGRES_DBNAME}}
run: |
pip install tox
tox

0 comments on commit 60143a6

Please sign in to comment.