From 3ac397c064e125a3e3c3555ccf5da122ed43ef15 Mon Sep 17 00:00:00 2001 From: Rafal Zebrowski Date: Sat, 6 Apr 2024 22:27:09 +0200 Subject: [PATCH] Fix (try): update django.yml --- .github/workflows/django.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index ce83d58..82bc65c 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -64,7 +64,10 @@ jobs: POSTGRES_PASSWORD: postgres POSTGRES_DB: githubactions ports: - - "5432:5432" + - 5432:5432 + options: >- + --health-cmd pg_isready --health-interval 10s + --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v3