aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2021-04-09 09:37:30 +0200
committerVratko Polak <vrpolak@cisco.com>2021-04-20 09:21:05 +0000
commit2931e1848d78099ca28103ca3c16d673015e6992 (patch)
tree884fd323c1a5ef7049c5cc6ceae5293409323f07 /tox.ini
parent9f79a042fa34432bad2c6e8b399df9eb253d8c3a (diff)
tox: Add job-spec checker
Change-Id: I2bbdc28431b6271d1950ec0e74bf708cae841146 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 6 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index b7573f9358..ab6a4b0209 100644
--- a/tox.ini
+++ b/tox.ini
@@ -26,8 +26,8 @@
[tox]
# Fast and brief checkers to front, slow or verbose checkers to back.
-envlist = tc_naming, tc_coverage, copyright_year, gpl_license, new_line_length,
- line_length, autogen, pylint, doc_verify
+envlist = job_spec, tc_naming, tc_coverage, copyright_year, gpl_license,
+ new_line_length, line_length, autogen, pylint, doc_verify
# The following is needed as tox requires setup.py by default.
skipsdist = true
@@ -65,6 +65,10 @@ commands = bash {[tox]checker_dir}/doc_verify.sh
whitelist_externals = /bin/bash
commands = bash {[tox]checker_dir}/gpl_license.sh
+[testenv:job_spec]
+whitelist_externals = /bin/bash
+commands = bash {[tox]checker_dir}/job_spec.sh
+
[testenv:line_length]
# Fix all transgressions and remove the ignore_outcome flag.
ignore_outcome = true