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