Add option for xml coverage to pytest
[ric-plt/lib/rmr.git] / src / bindings / rmr-python / tox.ini
index aeac89e..41e6da6 100644 (file)
@@ -27,8 +27,9 @@ setenv =
     RMR_SEED_RT = tests/fixtures/test_local.rt
     RMR_ASYNC_CONN = 0
 
-
-commands=pytest --verbose --cov {envsitepackagesdir}/rmr  --cov-report term-missing --cov-report html
+commands=
+    pytest --verbose --cov {envsitepackagesdir}/rmr --cov-report xml --cov-report term-missing --cov-report html
+    coverage xml -i
 
 [testenv:flake8]
 basepython = python3.7