From 405d3a55ff9374debdd44b842709744e7f92e1e8 Mon Sep 17 00:00:00 2001 From: karthikmurakonda Date: Wed, 11 Oct 2023 04:44:04 +0530 Subject: [PATCH] change django.yml --- .github/workflows/django.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index aeb83d4..33fef52 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -28,6 +28,18 @@ jobs: build: runs-on: ubuntu-latest + + services: + postgres: + image: postgres + env: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: postgres + POSTGRES_DB: cdc + ports: + - 5432:5432 + options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + strategy: max-parallel: 4 matrix: