+
Some checks failed
Unit tests / test (push) Failing after 1m28s

This commit is contained in:
Olga Nemt 2024-12-18 10:45:01 +05:00
parent a51f6e1b3b
commit c13f737f88

View File

@ -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