From e68a01b31b2200610e5bcc2070889dd914fcc887 Mon Sep 17 00:00:00 2001 From: "Lott, Christopher (cl778h)" Date: Thu, 5 Mar 2020 10:19:50 -0500 Subject: [PATCH] Add option for xml coverage to pytest Also add invocation of coverage tool Signed-off-by: Lott, Christopher (cl778h) Change-Id: I61d188c72cec0b36f059825246fa99732da715a5 --- src/bindings/rmr-python/tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bindings/rmr-python/tox.ini b/src/bindings/rmr-python/tox.ini index aeac89e..41e6da6 100644 --- a/src/bindings/rmr-python/tox.ini +++ b/src/bindings/rmr-python/tox.ini @@ -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 -- 2.16.6