-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
70 lines (62 loc) · 1.33 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Note I'm running tox locally but not on travis and appveyor
[tox]
envlist = py36,py37
tox_pyenv_fallback=False
[testenv:py37]
whitelist_externals = pylama
deps = -rrequirements-ci.txt
commands = pip install --upgrade pip
pip install .
pylama src
pylama tests
pylama example_app
pytest
[testenv:py36]
deps = -rrequirements-ci.txt
commands = pip install --upgrade pip
pip install .
pytest
[pytest:py36]
addopts=-v
-s
-ra
--strict
[pytest:py37]
addopts=-v
-s
-ra
--ff
--showlocals
--strict
--cov-config=.coveragerc
--cov=pytabby tests/
--cov-report term
--cov-report html
--cov-report xml
--no-cov-on-fail
# the following is for travis and local unless overruled by the avove
[pytest]
addopts=-v
-s
-ra
--strict
--cov-config=.coveragerc
--cov=pytabby tests/
--cov-report xml
--no-cov-on-fail
--maxfail=1
--showlocals
# ^ necessary for local debugging
markers =
smoke
function
breaking
regression
integration
use_fixtures
testpaths=tests
empty_parameter_set_mark = fail_at_collect
filterwarnings =
error
ignore::DeprecationWarning
norecursedirs = data