forked from Xilinx/fru-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
34 lines (22 loc) · 645 Bytes
/
Copy pathtox.ini
File metadata and controls
34 lines (22 loc) · 645 Bytes
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
[tox]
envlist = py27, py33, py34, py35, py36, py37, coverage
skip_missing_interpreters = True
[testenv]
deps =
pytest
pytest-cov
setenv = COVERAGE_FILE={toxworkdir}/.coverage.{envname}
commands = {envpython} -m pytest --cov=fru --cov-report= tests/__init__.py
[testenv:coverage]
deps = coverage
skip_install = True
changedir = {toxworkdir}
setenv = COVERAGE_FILE=.coverage
commands =
{envpython} -m coverage erase
{envpython} -m coverage combine
{envpython} -m coverage html --rcfile="{toxinidir}/tox.ini"
[coverage:run]
branch = True
[coverage:html]
directory = coverage-report