Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Better CI for uri and service name #6

Merged
merged 1 commit into from
May 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,15 @@ jobs:
uses: ./
id: postgres

- name: Test PostGIS is installed
- name: Test PostGIS with connection URI
run: psql -v ON_ERROR_STOP=1 -c 'SELECT PostGIS_Full_Version();' '${{ steps.postgres.outputs.connection-uri }}'

- name: Test PostGIS with service name
run: psql -v ON_ERROR_STOP=1 -c 'SELECT PostGIS_Full_Version();'
env:
PGSERVICE: ${{ steps.postgres.outputs.service-name }}


parametrized:
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -64,5 +70,10 @@ jobs:
port: 34837
id: postgres

- name: Test PostGIS is installed
- name: Test PostGIS with connection URI
run: psql -v ON_ERROR_STOP=1 -c 'SELECT PostGIS_Full_Version();' '${{ steps.postgres.outputs.connection-uri }}'

- name: Test PostGIS with service name
run: psql -v ON_ERROR_STOP=1 -c 'SELECT PostGIS_Full_Version();'
env:
PGSERVICE: ${{ steps.postgres.outputs.service-name }}
Loading