Remove network, ignored; use 127.0.0.1
This commit is contained in:
1 parent
de4fc9bf9e
commit
62c0f4e445
1 file changed
+1
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user