Skip to content

Commit

Permalink
Test on Postgres 9.1 and 16
Browse files Browse the repository at this point in the history
And switch to `apt.postgresql.org.sh` to install the second version of
Postgres to test the upgrade, thus allowing pre-releases to be properly
tested.
  • Loading branch information
theory committed Aug 14, 2023
1 parent 4bc2a99 commit 1d5265a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,22 @@ jobs:
strategy:
matrix:
include:
# - { version: 16, upgrade_to: "", update_from: 0.99.0 }
# - { version: 15, upgrade_to: 16, update_from: 0.99.0 }
# - { version: 14, upgrade_to: 15, update_from: 0.99.0 }
# - { version: 13, upgrade_to: 14, update_from: 0.99.0 }
# - { version: 12, upgrade_to: 13, update_from: 0.99.0 }
# - { version: 11, upgrade_to: 12, update_from: 0.99.0 } # Versions prior to 0.99.0 don't support Postgres 11
# - { version: 10, upgrade_to: 11, update_from: 0.95.0 }
# - { version: 9.6, upgrade_to: 10, update_from: 0.95.0 }
# - { version: 9.5, upgrade_to: 9.6, update_from: 0.95.0 }
# - { version: 9.4, upgrade_to: 9.5, update_from: 0.95.0 }
# - { version: 9.3, upgrade_to: 9.4, update_from: 0.95.0 }
# - { version: 9.2, upgrade_to: 9.3, update_from: "" } # updatecheck is not supported prior to 9.3
- { version: 16, upgrade_to: "", update_from: 0.99.0 }
- { version: 15, upgrade_to: 16, update_from: 0.99.0 }
- { version: 14, upgrade_to: 15, update_from: 0.99.0 }
- { version: 13, upgrade_to: 14, update_from: 0.99.0 }
- { version: 12, upgrade_to: 13, update_from: 0.99.0 }
- { version: 11, upgrade_to: 12, update_from: 0.99.0 } # Versions prior to 0.99.0 don't support Postgres 11
- { version: 10, upgrade_to: 11, update_from: 0.95.0 }
- { version: 9.6, upgrade_to: 10, update_from: 0.95.0 }
- { version: 9.5, upgrade_to: 9.6, update_from: 0.95.0 }
- { version: 9.4, upgrade_to: 9.5, update_from: 0.95.0 }
- { version: 9.3, upgrade_to: 9.4, update_from: 0.95.0 }
- { version: 9.2, upgrade_to: 9.3, update_from: "" } # updatecheck is not supported prior to 9.3
- { version: 9.1, upgrade_to: 9.2, update_from: "" } # updatecheck is not supported prior to 9.3
# Also test pg_upgrade across many versions
- { version: 9.2, upgrade_to: 16, update_from: "", suffix: –16 }
# - { version: 9.4, upgrade_to: 16, update_from: "", suffix: –16 }
- { version: 9.4, upgrade_to: 16, update_from: "", suffix: –16 }
name: 🐘 PostgreSQL ${{ matrix.version }}${{ matrix.suffix }}
runs-on: ubuntu-latest
container: pgxn/pgxn-tools
Expand Down
2 changes: 1 addition & 1 deletion Changes
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Revision history for pgTAP
the report (#247).
* Fixed test failures where the current username was not being quoted as an
identifier. Thanks to Matt DeLuco for the report (#216) and pull request
#259)!
(#259)!
* Fixed the `col_not_null()` drop statements in the uninstall script. Thanks
to Kyle L. Jensen for the report (#252).
* Removed straggler references to Postgres 9.0 and earlier, including
Expand Down

0 comments on commit 1d5265a

Please sign in to comment.