summaryrefslogtreecommitdiff
path: root/.github/workflows/tests.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r--.github/workflows/tests.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index a913cf5..15b6eec 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -18,6 +18,7 @@ jobs:
- {python: "3.8", postgres: "12"}
- {python: "3.9", postgres: "13"}
- {python: "3.10", postgres: "14"}
+ - {python: "3.11-dev", postgres: "14"}
# Opposite extremes of the supported Py/PG range, other architecture
- {python: "3.6", postgres: "14", architecture: "x86"}
@@ -25,6 +26,7 @@ jobs:
- {python: "3.8", postgres: "12", architecture: "x86"}
- {python: "3.9", postgres: "11", architecture: "x86"}
- {python: "3.10", postgres: "10", architecture: "x86"}
+ - {python: "3.11-dev", postgres: "10", architecture: "x86"}
env:
PSYCOPG2_TESTDB: postgres
@@ -48,11 +50,13 @@ jobs:
steps:
- uses: actions/checkout@v2
+ - name: Install tox
+ run: pip install tox
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- - name: Install tox
- run: pip install tox
- name: Run tests
- run: tox -e ${{ matrix.python }}
+ env:
+ MATRIX_PYTHON: ${{ matrix.python }}
+ run: tox -e ${MATRIX_PYTHON%-dev}
timeout-minutes: 5