diff --git a/_shared/project/.github/workflows/ci.yml b/_shared/project/.github/workflows/ci.yml index a9cc2c9..55f0269 100644 --- a/_shared/project/.github/workflows/ci.yml +++ b/_shared/project/.github/workflows/ci.yml @@ -57,6 +57,11 @@ jobs: - {{ cookiecutter['__postgres_port'] }}:5432 env: POSTGRES_HOST_AUTH_METHOD: trust + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 {% endif %} {% if include_exists(".github/workflows/ci/services.yml") %} {{- include(".github/workflows/ci/services.yml", indent=6) -}}