summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2022-02-04 14:00:57 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2022-02-08 08:46:36 +0000
commit0384b57fa175d45f5c3947adb488ef572669bce1 (patch)
tree9c4d4ecf9693475a4e7b053338760cddc31606e3 /tox.ini
parente9dbe96626c23204bac7426bba69b4e2aedfbd8f (diff)
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 <michal.jagiello@t-mobile.pl> Change-Id: I15c4ac2b2ddb28c938044b7e0a130a1644146f8b
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 7 insertions, 0 deletions
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