Move UT and linters jobs to Zuul
diff --git a/tox.ini b/tox.ini
index bdbf5da..7bf9cf3 100755
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py37,pep8
+envlist = py3,linters
skipsdist = True
sitepackages = False
skip_missing_interpreters = True
@@ -21,15 +21,11 @@
pip install {opts} {packages}
-[testenv:py3]
+[testenv:{py3,py38,py39,py310}]
basepython = python3
deps = -r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
-[testenv:pep8]
-commands =
- flake8
-
[testenv:cover]
basepython = python3
deps = -r{toxinidir}/requirements.txt
@@ -45,6 +41,12 @@
coverage xml -o cover/coverage.xml
coverage report
+[testenv:linters]
+skipsdist = True
+deps =
+ pre-commit
+commands =
+ pre-commit run --all-files --show-diff-on-failure
[testenv:venv]
commands = {posargs}