From 1fd9394bb6325e3348bb1fb21318021a324fa956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Fri, 20 Nov 2020 10:58:47 +0200 Subject: [PATCH] Add postgres take 2 --- .github/workflows/django.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index cccbf3a1..66698278 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -18,6 +18,8 @@ jobs: services: postgres: image: postgres + env: + POSTGRES_PASSWORD: postgres options: >- --health-cmd pg_isready --health-interval 10s @@ -42,5 +44,7 @@ jobs: DB: postgres DB_HOST: localhost DB_PORT: 5432 + DB_USER: postgres + DB_PASSWORD: postgres run: | python manage.py test