From 60143a6ad7ce208cba3c0d0b1837a51dfdd2fc86 Mon Sep 17 00:00:00 2001 From: Hugo Rodger-Brown Date: Mon, 18 Sep 2023 14:52:52 +0100 Subject: [PATCH] Fix --- .github/workflows/tox.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index f7d4cbb..520cd47 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -66,7 +66,6 @@ jobs: postgres: image: postgres env: - POSTGRES_PASSWORD: postgres POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: django_anonymiser @@ -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