Skip to content

Commit 45becbf

Browse files
committed
Fix coverage reports.
1 parent 8f1f653 commit 45becbf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
envlist = flake8,import-order,py35,py27,py33,py34,pypy
33

44
[testenv]
5+
whitelist_externals =
6+
dir
57
deps =
68
pytest>=2.7.2
79
graphql-core>=0.4.7b0
@@ -10,12 +12,12 @@ deps =
1012
py{py,27,33}: enum34
1113
py{py,27,33,34}: singledispatch
1214
commands =
13-
py{py,27,33,34,35}: py.test --cov {envsitepackagesdir}/epoxy tests {posargs}
15+
py{py,27,33,34,35}: bash -c "cd {envsitepackagesdir} && py.test --cov=epoxy {toxinidir}/tests"
1416

1517

1618
[testenv:flake8]
1719
deps = flake8
18-
commands = flake8
20+
commands = flake8 epoxy
1921

2022
[testenv:import-order]
2123
basepython=python3.5

0 commit comments

Comments
 (0)