Adding SONAR coverage report support
[optf/osdf.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 309296d..681ec2e 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -6,10 +6,9 @@ envlist = py3
 [testenv]
 distribute = False
 commands =
-    coverage run --module pytest 
-    coverage report --omit=".tox/py3/*","test/*"
+    coverage run --module pytest --junitxml xunit-results.xml
+    coverage xml --omit=".tox/py3/*","test/*"
     # TODO: need to update the above "omit" when we package osdf as pip-installable
-    # coverage html --omit=.tox/py3/* -d htmlcov
 deps = -r{toxinidir}/requirements.txt 
     -r{toxinidir}/test/test-requirements.txt