mirror of
https://github.com/tj-actions/install-postgresql.git
synced 2024-12-20 01:18:18 +00:00
chore: update test to validate installed version
This commit is contained in:
parent
f71606658b
commit
154c34a049
1 changed files with 5 additions and 3 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -37,6 +37,8 @@ jobs:
|
|||
postgresql-version: ${{ matrix.postgresql_version }}
|
||||
- name: Verify PostgreSQL
|
||||
run: |
|
||||
pg_dump --version
|
||||
psql --version
|
||||
pg_restore --version
|
||||
- name: Verify PostgreSQL
|
||||
run: |
|
||||
pg_dump --version | grep -q "PostgreSQL ${matrix.postgresql_version}.*" # Check if the version in the output matches the version in the matrix
|
||||
psql --version | grep -q "psql (PostgreSQL) ${matrix.postgresql_version}.*" # Check if the version in the output matches the version in the matrix
|
||||
pg_restore --version | grep -q "pg_restore (PostgreSQL) ${matrix.postgresql_version}.*" # Check if the version in the output matches the version in the matrix
|
||||
|
|
Loading…
Add table
Reference in a new issue