Add sonar pom and tox hooks.
[ric-plt/a1.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index dc9f690..edf4828 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -28,7 +28,9 @@ setenv =
     RMR_RETRY_TIMES = 2
 
 # Note, before this will work, for the first time on that machine, run ./install_deps.sh
-commands=pytest --verbose --cov {envsitepackagesdir}/a1  --cov-report term-missing --cov-report html
+commands =
+    pytest --junitxml xunit-results.xml --verbose --cov {envsitepackagesdir}/a1 --cov-report term-missing --cov-report html --cov-report xml
+    coverage xml -i
 
 [testenv:flake8]
 basepython = python3.7