parent
a51f6e1b3b
commit
c13f737f88
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user