From: SANDEEP KUMAR JAISAWAL Date: Thu, 1 Dec 2022 12:11:56 +0000 (+0530) Subject: Modifying pytest command to add coverage options X-Git-Tag: 1.0.0~14 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F9894%2F1;p=aiml-fw%2Fawmf%2Ftm.git Modifying pytest command to add coverage options Issue-Id: AIMLFW-5 Signed-off-by: SANDEEP KUMAR JAISAWAL Change-Id: I48de1753b2943926c7e2520edde8f3b778c2ad20 --- diff --git a/tox.ini b/tox.ini index 5bda26b..1f60a14 100644 --- 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