From c13f737f88b14cf381d37b085f25d049a79bf81b Mon Sep 17 00:00:00 2001 From: Olga Nemt Date: Wed, 18 Dec 2024 10:45:01 +0500 Subject: [PATCH] + --- .gitea/workflows/test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 2fec941..cc19b17 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -23,13 +23,13 @@ jobs: env: POSTGRES_USER: ${{ env.POSTGRES_USER }} POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }} - POSTGRES_HOST: ${{ env.POSTGRES_HOST }} + POSTGRES_HOST: persistence-cicd-test-postgres-db # Set health checks to wait until postgres has started options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s - --health-retries 5 + --health-retries 5 ports: # Maps tcp port 5432 on service container to the host - '${{ env.POSTGRES_PORT }}:5432' @@ -43,6 +43,6 @@ jobs: uses: actions/checkout@v4 - name: Run integration tests env: - POSTGRES_HOST: ${{ env.POSTGRES_HOST }} + POSTGRES_HOST: persistence-cicd-test-postgres-db POSTGRES_PORT: ${{ env.POSTGRES_PORT }} run: dotnet test DD.Persistence.IntegrationTests