]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
ci: Test with Python 3.9 and PostgreSQL 13
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 2 Mar 2021 01:49:30 +0000 (02:49 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Tue, 2 Mar 2021 02:07:56 +0000 (03:07 +0100)
Test different combination of Python and Postgres in the different
implementation to cover more cases.

.github/workflows/tests.yml
psycopg3/tox.ini
psycopg3_c/tox.ini

index e0e66385c67894364fe1896be019f82dd32dc663..9aba7e516b6cc6d138304e0eb41542ed51f20678 100644 (file)
@@ -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
index 8e4bf075f0632821a5439a55d81db66399f61b2f..0fbd130841fde9fb45d691949d49d0d21ceb82b1 100644 (file)
@@ -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
index c7e4d06acedf4a8fd3bc8bb3ecd2f92f062be209..d10c7956931cb09925a3cc7e3b22e734dfb89a0e 100644 (file)
@@ -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]