Skip to content

Commit

Permalink
Fix coverage settings
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaoming committed Aug 1, 2017
1 parent 5695479 commit 9c101e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[run]
parallel = True
include = ifcfg/*.py
source = src/ifcfg
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pip-log.txt

# Unit test / coverage reports
.coverage
.coverage.*
.tox

#Translations
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ envlist = py27,py34,py35,lint
[testenv]

commands =
coverage run --include=src/ifcfg --source=src/ifcfg {envbindir}/nosetests
coverage run {envbindir}/nosetests
coverage report

usedevelop = false
Expand All @@ -22,6 +22,7 @@ basepython =

[testenv:lint]
basepython = python2.7
skip_install = true
deps = flake8
commands =
flake8 src/ifcfg
Expand Down

0 comments on commit 9c101e7

Please sign in to comment.