Modifying pytest command to add coverage options 94/9894/1
authorSANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
Thu, 1 Dec 2022 12:11:56 +0000 (17:41 +0530)
committerSANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
Thu, 1 Dec 2022 12:11:56 +0000 (17:41 +0530)
Issue-Id: AIMLFW-5

Signed-off-by: SANDEEP KUMAR JAISAWAL <s.jaisawal@samsung.com>
Change-Id: I48de1753b2943926c7e2520edde8f3b778c2ad20

tox.ini

diff --git a/tox.ini b/tox.ini
index 5bda26b..1f60a14 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -49,4 +49,4 @@ commands =
 
   pip3 install feature-store/.
   pip3 install model-storage/.
-  pytest --cov-append --cov {toxinidir} --cov-report xml --cov-report term-missing --cov-report html
\ No newline at end of file
+  pytest --cov {toxinidir}/trainingmgr --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=10 --junitxml=/tmp/tests.xml coverage xml -i
\ No newline at end of file