From: Daniele Varrazzo Date: Mon, 22 Aug 2022 10:25:47 +0000 (+0200) Subject: test: include PostgreSQL RC 1 and libpq 15 in the tests X-Git-Tag: 3.1.4~6^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87ca9ffd5a76d11d204a8c81119691a37231b2b8;p=thirdparty%2Fpsycopg.git test: include PostgreSQL RC 1 and libpq 15 in the tests --- diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ce4c266f3..d777099b9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 \