Skip to content

Commit

Permalink
Update django/python versions on tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
rangelfinal committed Sep 25, 2023
1 parent eb732ae commit 511773a
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
[tox]
envlist =
py36-{flake8},
{py36,py37,py38,py39}-django32,
{py38,py39,py310,py311}-django{40,41,main},
envlist = {linux}-py{38,39,310,311}-django{32,40,41,42}

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311


[gh-actions:env]
OS =
ubuntu-latest: linux
DJANGO =
3.2: django32
4.0: django40
4.1: django41
4.2: django42

[testenv]
commands=
py.test --cov=templated_email tests/
deps=
-rtox-requirements.txt
pytest-cov
django32: Django==3.2
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
djangomain: https://github.com/django/django/archive/main.tar.gz

[testenv:py36-flake8]
commands = flake8 templated_email tests --ignore=E501
deps =
flake8
django32: django~=3.2
django40: django~=4.0
django41: django~=4.1
django42: django~=4.2

0 comments on commit 511773a

Please sign in to comment.