summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorTyler Kennedy2022-11-26 12:04:04 -0500
committerGitHub2022-11-26 10:04:04 -0700
commitc7588583927e004e10599912f6d7b76413d52730 (patch)
tree6c6ac1d2a3cc52c5b1e170db3ab78f2fab31022d /.github/workflows
parentd60ba9a0515aed0b8235a7738a5fecd8fd78f859 (diff)
downloadtakahe-c7588583927e004e10599912f6d7b76413d52730.tar.gz
takahe-c7588583927e004e10599912f6d7b76413d52730.tar.bz2
takahe-c7588583927e004e10599912f6d7b76413d52730.zip
Simplified settings
Migrated settings to typed pydantic settings
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml9
1 files changed, 4 insertions, 5 deletions
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