diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 211d2eb..6851f67 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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