forked from wagtail/wagtail-factories
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
39 lines (33 loc) · 812 Bytes
/
tox.ini
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
[tox]
envlist = py{36,37,38,39}-django{22,31,32}-wagtail{211,213}-factoryboy{212,32}
[testenv]
commands = coverage run --parallel -m pytest {posargs}
extras = test
passenv =
TEST_DB_NAME
TEST_DB_USER
TEST_DB_PASSWORD
TEST_DB_HOST
TEST_DB_PORT
deps =
django22: django>=2.2,<2.3
django31: django>=3.1,<3.2
django32: django>=3.2,<3.3
wagtail211: wagtail>=2.11,<2.12
wagtail213: wagtail>=2.13,<2.14
factoryboy212: factory-boy>=2.12,<3.0
factoryboy32: factory-boy>=3.2,<3.3
[testenv:coverage-report]
basepython = python3.7
deps = coverage
pip_pre = true
skip_install = true
commands =
coverage combine
coverage report
[testenv:lint]
basepython = python3.7
deps = flake8
commands =
flake8 src tests setup.py
isort -q --recursive --diff src/ tests/