-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathtox.ini
More file actions
54 lines (50 loc) · 1 KB
/
tox.ini
File metadata and controls
54 lines (50 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[tox]
envlist =
py{36,37,38,39}-dj22
py{36,37,38,39,310}-dj32
py{38,39,310,311,312}-dj42
py{310,311,312}-dj{50,51}
py{310,311,312,313}-dj52
py{312,313}-dj60
[testenv]
commands =
pytest --cov=djxml {posargs}
setenv =
DJANGO_SETTINGS_MODULE=tests.settings
deps =
dj22: Django>=2.2,<3.0
dj32: Django>=3.2,<4.0
dj42: Django>=4.2,<4.3
dj50: Django>=5.0,<5.1
dj51: Django>=5.1,<5.2
dj52: Django>=5.2,<5.3
dj60: https://github.com/django/django/archive/main.tar.gz
pytest
pytest-cov
pytest-django
[testenv:pep8]
description = Run PEP8 pycodestyle (flake8) against the djxml/ package directory
skipsdist = true
skip_install = true
basepython = python3.7
deps = flake8
commands = flake8 djxml
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
[gh-actions:env]
DJANGO =
2.2: dj22
3.2: dj32
4.0: dj40
4.1: dj41
4.2: dj42
5.0: dj50
5.1: dj51
5.2: dj52