summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/packages.yml4
-rw-r--r--.github/workflows/tests.yml24
2 files changed, 12 insertions, 16 deletions
diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml
index 137e91c..4fd6cb8 100644
--- a/.github/workflows/packages.yml
+++ b/.github/workflows/packages.yml
@@ -75,7 +75,7 @@ jobs:
docker run --rm
-e PLAT=${{ matrix.tag }}_${{ matrix.arch }}
-e PACKAGE_NAME=psycopg2-binary
- -e PYVERS="cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39"
+ -e PYVERS="cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310"
-e PSYCOPG2_TESTDB=postgres
-e PSYCOPG2_TESTDB_HOST=172.17.0.1
-e PSYCOPG2_TESTDB_USER=postgres
@@ -113,7 +113,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python-version: ['3.6', '3.7', '3.8', '3.9']
+ python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
steps:
- name: Checkout repos
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 1364105..a913cf5 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -13,22 +13,18 @@ jobs:
fail-fast: false
matrix:
include:
- - python: 3.6
- postgres: 10
- - python: 3.7
- postgres: 11
- - python: 3.8
- postgres: 12
- - python: 3.9
- postgres: 13
+ - {python: "3.6", postgres: "10"}
+ - {python: "3.7", postgres: "11"}
+ - {python: "3.8", postgres: "12"}
+ - {python: "3.9", postgres: "13"}
+ - {python: "3.10", postgres: "14"}
# Opposite extremes of the supported Py/PG range, other architecture
- - python: 3.6
- postgres: 13
- architecture: 'x86'
- - python: 3.9
- postgres: 9.5
- architecture: 'x86'
+ - {python: "3.6", postgres: "14", architecture: "x86"}
+ - {python: "3.7", postgres: "13", architecture: "x86"}
+ - {python: "3.8", postgres: "12", architecture: "x86"}
+ - {python: "3.9", postgres: "11", architecture: "x86"}
+ - {python: "3.10", postgres: "10", architecture: "x86"}
env:
PSYCOPG2_TESTDB: postgres