From f64bfdd74594078060be4fef4a9bd3fddbe4dfe5 Mon Sep 17 00:00:00 2001 From: Adriano Caloiaro Date: Wed, 4 Oct 2023 09:02:12 -0600 Subject: [PATCH] Update github action config --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 26ffdc2..95414ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,12 +20,11 @@ jobs: postgres: image: postgres:14-alpine env: - TEST_DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable&pool_max_conns=2 POSTGRES_PASSWORD: postgres options: >- --health-cmd pg_isready --health-interval 10s - --health-timeout 5s + --health-timeout 10s --health-retries 5 redis: image: redis @@ -42,6 +41,7 @@ jobs: - name: test run: make mod test coverage env: + TEST_DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable&pool_max_conns=6 TEST_REDIS_URL: redis:6379 - name: upload results uses: actions/upload-artifact@v3