From c7588583927e004e10599912f6d7b76413d52730 Mon Sep 17 00:00:00 2001 From: Tyler Kennedy Date: Sat, 26 Nov 2022 12:04:04 -0500 Subject: Simplified settings Migrated settings to typed pydantic settings--- .github/workflows/test.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dbee8e3..05e3b42 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,11 +29,10 @@ jobs: python -m pip install -r requirements-dev.txt - name: Run pytest env: - PGHOST: localhost - PGPORT: ${{ job.services.postgres.ports[5432] }} - PGNAME: postgres - PGUSER: postgres - PGPASSWORD: postgres + TAKAHE_DATABASE_URL: "postgres://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres" + TAKAHE_ENVIRONMENT: "test" + TAKAHE_SECRET_KEY: "testing_secret" + TAKAHE_MAIN_DOMAIN: "example.com" run: | python -m pytest - name: Run pre-commit -- cgit v1.2.3