From: Daniele Varrazzo Date: Tue, 2 Mar 2021 01:49:30 +0000 (+0100) Subject: ci: Test with Python 3.9 and PostgreSQL 13 X-Git-Tag: 3.0.dev0~94^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0434b448380b3854335ff062dca378bec99b899;p=thirdparty%2Fpsycopg.git ci: Test with Python 3.9 and PostgreSQL 13 Test different combination of Python and Postgres in the different implementation to cover more cases. --- diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e0e66385c..9aba7e516 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,12 +13,14 @@ jobs: fail-fast: false matrix: include: - - postgres: 11 - python: 3.6 - - postgres: 12 - python: 3.7 - - postgres: 12 - python: 3.8 + - python: 3.6 + postgres: 10 + - python: 3.7 + postgres: 11 + - python: 3.8 + postgres: 12 + - python: 3.9 + postgres: 13 env: PSYCOPG3_IMPL: python @@ -59,12 +61,14 @@ jobs: fail-fast: false matrix: include: - - postgres: 10 - python: 3.6 - - postgres: 11 - python: 3.7 - - postgres: 12 - python: 3.8 + - python: 3.6 + postgres: 13 + - python: 3.7 + postgres: 12 + - python: 3.8 + postgres: 11 + - python: 3.9 + postgres: 10 env: PSYCOPG3_IMPL: c diff --git a/psycopg3/tox.ini b/psycopg3/tox.ini index 8e4bf075f..0fbd13084 100644 --- a/psycopg3/tox.ini +++ b/psycopg3/tox.ini @@ -1,8 +1,8 @@ [tox] -envlist = {3.6,3.7,3.8} +envlist = {3.6,3.7,3.8,3.9} isolated_build = True -[testenv:{3.6,3.7,3.8}] +[testenv] commands = pytest ../tests {posargs} passenv = PG* PSYCOPG3_TEST_DSN PYTEST_ADDOPTS PSYCOPG3_IMPL diff --git a/psycopg3_c/tox.ini b/psycopg3_c/tox.ini index c7e4d06ac..d10c79569 100644 --- a/psycopg3_c/tox.ini +++ b/psycopg3_c/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = {3.6,3.7,3.8} +envlist = {3.6,3.7,3.8,3.9} isolated_build = True [testenv]