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: