aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-07-19 12:02:50 +0000
committerVratko Polak <vrpolak@cisco.com>2019-07-31 14:48:42 +0000
commite8e655c1c5aafbffd8040c5fcfecfd4e5d9011c5 (patch)
tree0621c08fe2daa847c2dd70d521b0f90f66a28f97 /tox.ini
parent17983da5a95d53d2be69537e3816438d114c3d5b (diff)
TOX: Coverage check
Change-Id: Ib4585729f7b84bbcf1db62db801a6b2f24337803 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 6 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 2ad02e3fec..fd0a6cf8cd 100644
--- a/tox.ini
+++ b/tox.ini
@@ -25,7 +25,7 @@
# will execute only checks defined in "pylint" tox environment.
[tox]
-envlist = new_line_length, line_length, autogen, pylint, tc_naming
+envlist = new_line_length, line_length, autogen, pylint, tc_naming, tc_coverage
# The following is needed as tox requires setup.py by default.
skipsdist = true
# Just a shorthand to avoid long lines.
@@ -66,6 +66,11 @@ whitelist_externals = /bin/bash
# Fix all TC namings and remove the " || true" workaround.
commands = bash -c "bash {[tox]checker_dir}/tc_naming.sh || true"
+[testenv:tc_coverage]
+whitelist_externals = /bin/bash
+# Coverage is not needed to be voting.
+commands = bash -c "bash {[tox]checker_dir}/tc_coverage.sh || true"
+
# TODO: Migrate current docs check here.
# TODO: Create voting "pylint violations should not increase" checker.
# TODO: Create voting checker to reject suites with Force Tags of other suite.