Browse Source

Add postgres take 2

pull/453/head
Pēteris Caune 4 years ago
parent
commit
1fd9394bb6
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      .github/workflows/django.yml

+ 4
- 0
.github/workflows/django.yml View File

@ -18,6 +18,8 @@ jobs:
services: services:
postgres: postgres:
image: postgres image: postgres
env:
POSTGRES_PASSWORD: postgres
options: >- options: >-
--health-cmd pg_isready --health-cmd pg_isready
--health-interval 10s --health-interval 10s
@ -42,5 +44,7 @@ jobs:
DB: postgres DB: postgres
DB_HOST: localhost DB_HOST: localhost
DB_PORT: 5432 DB_PORT: 5432
DB_USER: postgres
DB_PASSWORD: postgres
run: | run: |
python manage.py test python manage.py test

Loading…
Cancel
Save