From 0384b57fa175d45f5c3947adb488ef572669bce1 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Fri, 4 Feb 2022 14:00:57 +0000 Subject: Declare nested inputs in services Distinguish service and xNFs inputs in schema Add 'coverage' env in tox Issue-ID: INT-2060 Signed-off-by: Michal Jagiello Change-Id: I15c4ac2b2ddb28c938044b7e0a130a1644146f8b --- tox.ini | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 5852af1..1aa0572 100644 --- a/tox.ini +++ b/tox.ini @@ -60,3 +60,10 @@ deps = types-PyYAML -rrequirements.txt commands = mypy --strict onap_data_provider/ + +[testenv:cov] +deps = + pytest-cov + -rrequirements.txt +commands = + pytest --cov-report term-missing --cov-report xml --cov-report html --cov=onap_data_provider --cov-fail-under=80 -- cgit 1.2.3-korg