Auto Update CSIT Jobs to run for silicon
[releng/builder.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 9277b269b97f4acf535415d1cc08b1db19baafb7..0bce156ffe23efd391c7204678bb433359d9e4ea 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -18,7 +18,7 @@ commands = python {toxinidir}/check_jjb_version.py
 
 [testenv:pre-commit]
 basepython = python3
-deps = pre-commit
+deps = pre-commit==2.9.3
 commands =
     pre-commit install --hook-type commit-msg
     pre-commit run --all-files --show-diff-on-failure
@@ -30,3 +30,12 @@ commands = python {toxinidir}/check_prefix.py
 [testenv:robot]
 basepython = python3
 commands = python {toxinidir}/check_robot.py
+
+[testenv:cut-branch-jobs]
+basepython = python3
+deps =
+    pre-commit
+    ruamel.yaml
+commands =
+    python scripts/cut-branch-jobs.py {posargs:--help} {toxinidir}/jjb
+    - pre-commit run --all-files prettier