diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4cf8f33..0a004de 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,7 +37,7 @@ jobs: POSTGRES_PASSWORD: postgres POSTGRES_DB: collabtable_test ports: - - 5432/tcp + - "5432:5432" options: >- --health-cmd "pg_isready -U postgres" --health-interval 5s @@ -58,7 +58,7 @@ jobs: - name: Test run: go test ./... env: - TEST_DATABASE_URL: "postgres://postgres:postgres@localhost:${{ job.services.postgres.ports['5432'] }}/collabtable_test?sslmode=disable" + TEST_DATABASE_URL: "postgres://postgres:postgres@localhost:5432/collabtable_test?sslmode=disable" frontend: name: Dashboard checks