diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 858f6b3..01aeb6a 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -45,9 +45,9 @@ jobs: - name: Push Database - Test run: bun run db:push env: - POSTGRES_URL: postgres://postgres:postgres@localhost:5432/postgres + POSTGRES_URL: postgres://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres - name: Test API run: bun test:api env: - POSTGRES_URL: postgres://postgres:postgres@localhost:5432/postgres \ No newline at end of file + POSTGRES_URL: postgres://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/postgres \ No newline at end of file