-
Notifications
You must be signed in to change notification settings - Fork 269
/
tox.ini
29 lines (26 loc) · 995 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
# content of: tox.ini , put in same dir as setup.py
# tox.ini
[tox]
isolated_build = True
[tox:.package]
# note tox will use the same python version as under what tox is installed to package
# so unless this is python 3 you can require a given python version for the packaging
# environment via the basepython key
basepython = python3
[testenv]
# install pytest in the virtualenv where commands will be executed
deps = pytest
platform = linux|darwin
commands =
# NOTE: you can run any command line tool here - not just tests
pytest
[pytest]
norecursedirs = docs *.egg-info .git src js venv py2 py.tox
log_format = %(asctime)s {%(pathname)s:%(lineno)d} %(levelname)s %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
log_level = INFO
# log_cli = True
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
e2e: marks test as end to end, requires docker (deselect with '-m "not e2e"')
linux: marks test that require kvm & docker (deselect with '-m "not linux"')