diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 6df806a..67c2d73 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -19,7 +19,6 @@ jobs: POSTGRES_DB: ${{ secrets.TEST_PG_DATABASE }} ports: - ${{ secrets.TEST_PG_PORT }}:5432 - network: "app-gitea-net" # Ensure Postgres is completely booted before running tests options: >- --health-cmd "pg_isready -U test_user -d test_db" @@ -49,7 +48,7 @@ jobs: working-directory: ./api run: npx dbmate up env: - DATABASE_URL: "postgres://${{ secrets.TEST_PG_USER }}:${{ secrets.TEST_PG_USER_PASSWORD }}@postgres:@${{ secrets.TEST_PG_PORT }}/${{ secrets.TEST_PG_DATABASE }}?sslmode=disable" + DATABASE_URL: "postgres://${{ secrets.TEST_PG_USER }}:${{ secrets.TEST_PG_USER_PASSWORD }}@127.0.0.1:@${{ secrets.TEST_PG_PORT }}/${{ secrets.TEST_PG_DATABASE }}?sslmode=disable" # - name: Generate PgTyped Types # run: npm run pgtyped:compile