Remove network, ignored; use 127.0.0.1
CI/CD Pipeline / test (push) Failing after 27s
CI/CD Pipeline / deploy-internal (push) Skipped

This commit is contained in:
chris committed 2026-09-25 13:27:52 -04:00
1 parent de4fc9bf9e
commit 62c0f4e445
1 file changed
+1 -2
+1 -2
View File
@@ -19,7 +19,6 @@ jobs:
POSTGRES_DB: ${{ secrets.TEST_PG_DATABASE }} POSTGRES_DB: ${{ secrets.TEST_PG_DATABASE }}
ports: ports:
- ${{ secrets.TEST_PG_PORT }}:5432 - ${{ secrets.TEST_PG_PORT }}:5432
network: "app-gitea-net"
# Ensure Postgres is completely booted before running tests # Ensure Postgres is completely booted before running tests
options: >- options: >-
--health-cmd "pg_isready -U test_user -d test_db" --health-cmd "pg_isready -U test_user -d test_db"
@@ -49,7 +48,7 @@ jobs:
working-directory: ./api working-directory: ./api
run: npx dbmate up run: npx dbmate up
env: 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 # - name: Generate PgTyped Types
# run: npm run pgtyped:compile # run: npm run pgtyped:compile