Skip to content

Commit c98b01a

Browse files
committed
Added tests for Django 3.2
1 parent 2a7a1b2 commit c98b01a

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

.circleci/config.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,22 @@ jobs:
9999
- TEST_OIDC_ALGO=hs
100100
- DJANGO_VERSION=Django>=3.1.0,<3.2
101101
<<: *common_steps
102+
e2e_test_py3_rs_django320:
103+
docker:
104+
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py3-latest
105+
name: testoidcsetup
106+
environment:
107+
- TEST_OIDC_ALGO=rs
108+
- DJANGO_VERSION=Django>=3.2.0,<4.0
109+
<<: *common_steps
110+
e2e_test_py3_hs_django320:
111+
docker:
112+
- image: mozilla/oidc-testprovider:oidc_e2e_setup_py3-latest
113+
name: testoidcsetup
114+
environment:
115+
- TEST_OIDC_ALGO=hs
116+
- DJANGO_VERSION=Django>=3.2.0,<4.0
117+
<<: *common_steps
102118

103119
workflows:
104120
version: 2
@@ -123,3 +139,9 @@ workflows:
123139
- e2e_test_py3_hs_django310:
124140
requires:
125141
- build_lib
142+
- e2e_test_py3_rs_django320:
143+
requires:
144+
- build_lib
145+
- e2e_test_py3_hs_django320:
146+
requires:
147+
- build_lib

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
'Framework :: Django :: 2.2',
6060
'Framework :: Django :: 3.0',
6161
'Framework :: Django :: 3.1',
62+
'Framework :: Django :: 3.2',
6263
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
6364
'Intended Audience :: Developers',
6465
'Operating System :: MacOS',

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ envlist =
44
py{36,37,38,39}-django220
55
py{36,37,38,39}-django300
66
py{36,37,38,39}-django310
7+
py{36,37,38,39}-django320
78

89
[gh-actions]
910
python =
@@ -26,14 +27,16 @@ deps =
2627
django300: djangorestframework>=3.7
2728
django310: Django>=3.1.0,<3.2
2829
django310: djangorestframework>=3.7
30+
django320: Django>=3.2.0,<4.0
31+
django320: djangorestframework>=3.7
2932

3033
[testenv:coverage]
3134
commands =
3235
coverage run --source mozilla_django_oidc {envbindir}/django-admin.py test
3336
deps =
3437
coverage
3538
-r{toxinidir}/tests/requirements.txt
36-
Django>=3.1
39+
Django>=3.2
3740
djangorestframework>=3.9
3841

3942
[testenv:lint]

0 commit comments

Comments
 (0)