Skip to content

Commit

Permalink
Fix testing env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Sep 24, 2023
1 parent fff1f5b commit 6cdcf00
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/dev-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
branches:
- develop

env:
DATABASE_URL: postgres://user:password@localhost:5432/readux
DJANGO_ENV: test

jobs:
pytest:
runs-on: ubuntu-22.04
Expand All @@ -21,8 +25,6 @@ jobs:
cluster.name: readux-elasticsearch
http.port: 9200
discovery.type: single-node
DATABASE_URL: postgres://user:password@localhost:5432/readux
DJANGO_ENV: test
options: >-
--health-cmd "curl http://localhost:9200/_cluster/health"
--health-interval 10s
Expand Down

0 comments on commit 6cdcf00

Please sign in to comment.