правка
Some checks failed
Unit tests / test (push) Failing after 1m56s

This commit is contained in:
Olga Nemt 2024-12-18 10:39:56 +05:00
parent 833ca83a61
commit a51f6e1b3b

View File

@ -19,10 +19,11 @@ jobs:
# Docker Hub image # Docker Hub image
image: postgres image: postgres
# Provide the password for postgres # Provide the password for postgres
hostname: ${{ env.POSTGRES_HOST }} # hostname: ${{ env.POSTGRES_HOST }}
env: env:
POSTGRES_USER: ${{ env.POSTGRES_USER }} POSTGRES_USER: ${{ env.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }} POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}
POSTGRES_HOST: ${{ env.POSTGRES_HOST }}
# Set health checks to wait until postgres has started # Set health checks to wait until postgres has started
options: >- options: >-
--health-cmd pg_isready --health-cmd pg_isready