]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
test: include PostgreSQL RC 1 and libpq 15 in the tests
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 22 Aug 2022 10:25:47 +0000 (12:25 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 20 Oct 2022 19:21:02 +0000 (21:21 +0200)
.github/workflows/tests.yml

index ce4c266f37e0b118c79b413392efd18008359f8a..d777099b94843438a11cda7843734a0d280a18d1 100644 (file)
@@ -27,12 +27,12 @@ jobs:
           # Test different combinations of Python, Postgres, libpq.
           - {impl: python, python: "3.7", postgres: "postgres:10", libpq: "newest"}
           - {impl: python, python: "3.8", postgres: "postgres:12", libpq: ""}
-          - {impl: python, python: "3.9", postgres: "postgres:13", libpq: "newest"}
-          - {impl: python, python: "3.10", postgres: "postgres:14", libpq: "oldest"}
-          - {impl: c, python: "3.7", postgres: "postgres:14", libpq: "oldest"}
-          - {impl: c, python: "3.8", postgres: "postgres:13", libpq: "newest"}
-          - {impl: c, python: "3.9", postgres: "postgres:12", libpq: ""}
-          - {impl: c, python: "3.10", postgres: "postgres:10", libpq: "oldest"}
+          - {impl: python, python: "3.9", postgres: "postgres:14", libpq: ""}
+          - {impl: python, python: "3.10", postgres: "postgres:15rc1", libpq: "oldest"}
+          - {impl: c, python: "3.7", postgres: "postgres:15rc1", libpq: "newest"}
+          - {impl: c, python: "3.8", postgres: "postgres:14", libpq: ""}
+          - {impl: c, python: "3.9", postgres: "postgres:13", libpq: ""}
+          - {impl: c, python: "3.10", postgres: "postgres:11", libpq: "oldest"}
           - {impl: dns, python: "3.9", postgres: "postgres:14", libpq: ""}
           - {impl: postgis, python: "3.9", postgres: "postgis/postgis", libpq: ""}
 
@@ -56,7 +56,8 @@ jobs:
         run: |
           set -x
           rel=$(lsb_release -c -s)
-          echo "deb http://apt.postgresql.org/pub/repos/apt ${rel}-pgdg main" \
+          # TODO: after PG 15 has been released, remove the 15 from below.
+          echo "deb http://apt.postgresql.org/pub/repos/apt ${rel}-pgdg main 15" \
             | sudo tee -a /etc/apt/sources.list.d/pgdg.list
           sudo apt-get -qq update
           pqver=$(apt-cache show libpq5  | grep ^Version: | head -1 \