summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
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