From 958580cd11bd485f583218342a119898519e091f Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 9 Nov 2023 15:13:09 -0500 Subject: Run tests in CI against psycopg. --- .ci/scripts/calculate_jobs.py | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) (limited to '.ci') diff --git a/.ci/scripts/calculate_jobs.py b/.ci/scripts/calculate_jobs.py index ab1d214727..dfa32a5445 100755 --- a/.ci/scripts/calculate_jobs.py +++ b/.ci/scripts/calculate_jobs.py @@ -50,23 +50,38 @@ if not IS_PR: for version in ("3.9", "3.10", "3.11", "3.12") ) +# Run with both psycopg2 and psycopg. trial_postgres_tests = [ { "python-version": "3.8", "database": "postgres", "postgres-version": "11", "extras": "all", - } + }, + { + "python-version": "3.8", + "database": "psycopg", + "postgres-version": "11", + "extras": "all", + }, ] if not IS_PR: - trial_postgres_tests.append( - { - "python-version": "3.12", - "database": "postgres", - "postgres-version": "16", - "extras": "all", - } + trial_postgres_tests.extend( + [ + { + "python-version": "3.12", + "database": "postgres", + "postgres-version": "16", + "extras": "all", + }, + { + "python-version": "3.12", + "database": "psycopg", + "postgres-version": "16", + "extras": "all", + }, + ] ) trial_no_extra_tests = [ -- cgit 1.5.1