Skip to content

Commit f7eb1f9

Browse files
committed
Add new environments with lower Django versions
Signed-off-by: Artyom Vancyan <[email protected]>
1 parent 8edf96b commit f7eb1f9

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/workflows/tests.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@ jobs:
1212
strategy:
1313
matrix:
1414
include:
15+
- python: "3.6"
16+
env: py36-django11
17+
os: ubuntu-20.04 # 3.6 is not available on ubuntu-20.04
18+
- python: "3.8"
19+
env: py38-django11
20+
- python: "3.9"
21+
env: py39-django11
22+
23+
- python: "3.6"
24+
env: py36-django21
25+
os: ubuntu-20.04 # 3.6 is not available on ubuntu-20.04
26+
- python: "3.8"
27+
env: py38-django21
28+
- python: "3.9"
29+
env: py39-django21
30+
1531
- python: "3.6"
1632
env: py36-django32
1733
os: ubuntu-20.04 # 3.6 is not available on ubuntu-20.04

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[tox]
22
envlist =
3+
py{36,38,39}-django11
4+
py{36,38,39}-django21
35
py{36,38,310}-django32
46
py{38,39,310}-django40
57
py{39,310,311}-django{41,main}
@@ -11,6 +13,8 @@ deps =
1113
django41: django<4.2
1214
django40: django<4.1
1315
django32: django<3.3
16+
django21: django<2.2
17+
django11: django<2.0
1418
-r{toxinidir}/tests/requirements.txt
1519
commands =
1620
pip install -e .

0 commit comments

Comments
 (0)