Skip to content

Commit

Permalink
Run CI against Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Photonios committed Apr 6, 2023
1 parent 50bb361 commit 316ccfe
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
18 changes: 18 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,17 @@ jobs:
extra: test
- run-tests:
pyversion: 310

test-python311:
executor:
name: python
version: "3.11"
steps:
- checkout
- install-dependencies:
extra: test
- run-tests:
pyversion: 311
- store_test_results:
path: reports
- run:
Expand Down Expand Up @@ -171,6 +182,12 @@ workflows:
only: /.*/
branches:
only: /.*/
- test-python311:
filters:
tags:
only: /.*/
branches:
only: /.*/
- analysis:
filters:
tags:
Expand All @@ -184,6 +201,7 @@ workflows:
- test-python38
- test-python39
- test-python310
- test-python311
- analysis
filters:
tags:
Expand Down
12 changes: 7 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[tox]
envlist =
{py36,py37}-dj{20,21,22,30,31,32}-psycopg{2}
{py38,py39,py310}-dj{20,21,22,30,31,32,40,41}-psycopg{2}
{py38,py39,py310}-dj{42}-psycopg{2,3}
{py36,py37}-dj{20,21,22,30,31,32}-psycopg{28,29}
{py38,py39,py310}-dj{21,22,30,31,32,40}-psycopg{28,29}
{py38,py39,py310,py311}-dj{41}-psycopg{28,29}
{py38,py39,py310,py311}-dj{42}-psycopg{28,29,31}

[testenv]
deps =
Expand All @@ -15,8 +16,9 @@ deps =
dj40: Django~=4.0.0
dj41: Django~=4.1.0
dj42: Django~=4.2.0
psycopg2: psycopg2[binary]~=2.9
psycopg3: psycopg[binary]~=3.1
psycopg28: psycopg2[binary]~=2.8
psycopg29: psycopg2[binary]~=2.9
psycopg31: psycopg[binary]~=3.1
.[test]
setenv =
DJANGO_SETTINGS_MODULE=settings
Expand Down

0 comments on commit 316ccfe

Please sign in to comment.