Skip to content

Commit 316ccfe

Browse files
committedApr 6, 2023
Run CI against Python 3.11
1 parent 50bb361 commit 316ccfe

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed
 

‎.circleci/config.yml

+18
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,17 @@ jobs:
9595
extra: test
9696
- run-tests:
9797
pyversion: 310
98+
99+
test-python311:
100+
executor:
101+
name: python
102+
version: "3.11"
103+
steps:
104+
- checkout
105+
- install-dependencies:
106+
extra: test
107+
- run-tests:
108+
pyversion: 311
98109
- store_test_results:
99110
path: reports
100111
- run:
@@ -171,6 +182,12 @@ workflows:
171182
only: /.*/
172183
branches:
173184
only: /.*/
185+
- test-python311:
186+
filters:
187+
tags:
188+
only: /.*/
189+
branches:
190+
only: /.*/
174191
- analysis:
175192
filters:
176193
tags:
@@ -184,6 +201,7 @@ workflows:
184201
- test-python38
185202
- test-python39
186203
- test-python310
204+
- test-python311
187205
- analysis
188206
filters:
189207
tags:

‎tox.ini

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[tox]
22
envlist =
3-
{py36,py37}-dj{20,21,22,30,31,32}-psycopg{2}
4-
{py38,py39,py310}-dj{20,21,22,30,31,32,40,41}-psycopg{2}
5-
{py38,py39,py310}-dj{42}-psycopg{2,3}
3+
{py36,py37}-dj{20,21,22,30,31,32}-psycopg{28,29}
4+
{py38,py39,py310}-dj{21,22,30,31,32,40}-psycopg{28,29}
5+
{py38,py39,py310,py311}-dj{41}-psycopg{28,29}
6+
{py38,py39,py310,py311}-dj{42}-psycopg{28,29,31}
67

78
[testenv]
89
deps =
@@ -15,8 +16,9 @@ deps =
1516
dj40: Django~=4.0.0
1617
dj41: Django~=4.1.0
1718
dj42: Django~=4.2.0
18-
psycopg2: psycopg2[binary]~=2.9
19-
psycopg3: psycopg[binary]~=3.1
19+
psycopg28: psycopg2[binary]~=2.8
20+
psycopg29: psycopg2[binary]~=2.9
21+
psycopg31: psycopg[binary]~=3.1
2022
.[test]
2123
setenv =
2224
DJANGO_SETTINGS_MODULE=settings

0 commit comments

Comments
 (0)