Giuseppe Lavagetto has uploaded a new change for review.
https://gerrit.wikimedia.org/r/320372
Change subject: Add coverage reporting to CI
......................................................................
Add coverage reporting to CI
Change-Id: I02a614dc44e0d95b2f390772c303834e044a2fd2
---
M tox.ini
1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/software/conftool
refs/changes/72/320372/1
diff --git a/tox.ini b/tox.ini
index 5b5d503..e5213e8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,6 +10,17 @@
[testenv:venv]
commands = {posargs}
+[testenv:cover]
+commands =
+ coverage run --source conftool --omit=conftool/tests/* setup.py test
+ coverage report -m
+deps =
+ python-etcd>=0.4.3
+ pyyaml
+ coverage
+ mock
+ nose
+
[testenv:flake8]
basepython = python2.7
commands = flake8 {posargs}
--
To view, visit https://gerrit.wikimedia.org/r/320372
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I02a614dc44e0d95b2f390772c303834e044a2fd2
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/conftool
Gerrit-Branch: master
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits