From 1d5265a674979f3cb47c0428596e25f2409db68a Mon Sep 17 00:00:00 2001 From: "David E. Wheeler" Date: Mon, 14 Aug 2023 17:38:24 -0400 Subject: [PATCH] Test on Postgres 9.1 and 16 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. --- .github/workflows/test.yml | 27 ++++++++++++++------------- Changes | 2 +- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 84d10b9c..5f69c998 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/Changes b/Changes index 1152ec22..fe68beee 100644 --- a/Changes +++ b/Changes @@ -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