Skip to content

Commit 6d18436

Browse files
committed
fix database_url
1 parent abf0f3f commit 6d18436

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ jobs:
378378
fi
379379
tests/test.sh
380380
env:
381-
DATABASE_URL: postgres://${{ env.PGUSER }}:${{ env.PGUSER }}@${{ env.PGHOST }}:${{ job.services.postgres.ports[5432] }}/${{ env.PGDATABASE }}?sslmode=require
381+
DATABASE_URL: postgres://${{ env.PGUSER }}:${{ env.PGUSER }}@${{ env.PGHOST }}:${{ env.PGPORT }}/${{ env.PGDATABASE }}?sslmode=require
382382
- name: Compare test output results (Linux)
383383
if: matrix.target == 'x86_64-unknown-linux-gnu'
384384
run: diff --brief --recursive --new-file tests/output tests/expected
@@ -398,7 +398,7 @@ jobs:
398398
export MBTILES_BIN=/usr/bin/mbtiles${{ matrix.ext }}
399399
tests/test.sh
400400
env:
401-
DATABASE_URL: postgres://${{ env.PGUSER }}:${{ env.PGUSER }}@${{ env.PGHOST }}:${{ job.services.postgres.ports[5432] }}/${{ env.PGDATABASE }}?sslmode=require
401+
DATABASE_URL: postgres://${{ env.PGUSER }}:${{ env.PGUSER }}@${{ env.PGHOST }}:${{ env.PGPORT }}/${{ env.PGDATABASE }}?sslmode=require
402402
- name: Save test output (on error)
403403
if: failure()
404404
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)