]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
ci: add PostgreSQL 18 to the test grid
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 7 Sep 2025 11:46:57 +0000 (13:46 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 7 Sep 2025 11:47:24 +0000 (13:47 +0200)
.github/workflows/tests.yml

index 9194b0ef819e6dde2229bfcff034c82acfee58a5..a6a8f4ec06846969022310e47e61ce4357a04d1c 100644 (file)
@@ -28,24 +28,24 @@ jobs:
       matrix:
         include:
           # Test different combinations of Python, Postgres, libpq.
-          - {impl: python, python: "3.10", postgres: "postgres:17", libpq: oldest}
-          - {impl: python, python: "3.11", postgres: "postgres:16", libpq: master}
-          - {impl: python, python: "3.12", postgres: "postgres:15", libpq: newest}
+          - {impl: python, python: "3.10", postgres: "postgres:18rc1", libpq: oldest}
+          - {impl: python, python: "3.11", postgres: "postgres:17", libpq: master}
+          - {impl: python, python: "3.12", postgres: "postgres:16", libpq: newest}
           - {impl: python, python: "3.13", postgres: "postgres:13"}
           - {impl: python, python: "3.14", postgres: "postgres:14"}
 
           - {impl: c, python: "3.10", postgres: "postgres:13", libpq: master}
-          - {impl: c, python: "3.11", postgres: "postgres:14", libpq: oldest}
-          - {impl: c, python: "3.12", postgres: "postgres:15"}
-          - {impl: c, python: "3.13", postgres: "postgres:16", libpq: newest}
-          - {impl: c, python: "3.14", postgres: "postgres:17"}
+          - {impl: c, python: "3.11", postgres: "postgres:15", libpq: oldest}
+          - {impl: c, python: "3.12", postgres: "postgres:16"}
+          - {impl: c, python: "3.13", postgres: "postgres:17", libpq: newest}
+          - {impl: c, python: "3.14", postgres: "postgres:18rc1"}
 
           - {impl: python, python: "3.10", ext: gevent, postgres: "postgres:17"}
           - {impl: python, python: "3.10", ext: dns, postgres: "postgres:14"}
           - {impl: python, python: "3.12", ext: postgis, postgres: "postgis/postgis"}
-          - {impl: python, python: "3.10", ext: numpy, postgres: "postgres:14"}
-          - {impl: c, python: "3.11", ext: numpy, postgres: "postgres:15"}
-          - {impl: c, python: "3.12", ext: gevent, postgres: "postgres:14"}
+          - {impl: python, python: "3.10", ext: numpy, postgres: "postgres:15"}
+          - {impl: c, python: "3.12", ext: numpy, postgres: "postgres:17"}
+          - {impl: c, python: "3.13", ext: gevent, postgres: "postgres:18rc1"}
 
           # Test with minimum dependencies versions
           # WARNING: when bumping min version, make sure that the dependencies
@@ -54,7 +54,7 @@ jobs:
           - {impl: c, python: "3.10", ext: min, postgres: "postgres:15"}
 
           # Test memory alignment
-          - {impl: c, python: "3.12", ext: align, postgres: "postgres:16"}
+          - {impl: c, python: "3.12", ext: align, postgres: "postgres:17"}
 
           # Test with PyPy.
           - {impl: python, python: "pypy3.10", postgres: "postgres:14"}