diff --git a/.github/workflows/gotests.yaml b/.github/workflows/gotests.yaml index f3b4a87d..53b2d703 100644 --- a/.github/workflows/gotests.yaml +++ b/.github/workflows/gotests.yaml @@ -21,15 +21,17 @@ jobs: postgres: image: postgres env: - POSTGRESQL_USER: user - POSTGRESQL_PASSWORD: password - POSTGRESQL_ADMIN_PASSWOR: admin - POSTGRESQL_DATABASE: aggregator + POSTGRES_USER: user + POSTGRES_PASSWORD: password + POSTGRES_ADMIN_PASSWOR: admin + POSTGRES_DATABASE: aggregator options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + ports: + - 5432:5432 steps: - uses: actions/checkout@v4 - name: Setup Go