include:
- stage: run unit tests
script: >
- tox -e docs,pep8,pylint,yamllint,ansiblelint,bashate,py39,cover
+ tox -e docs,pep8,pylint,yamllint,bashate,py39,cover
- stage: build xtesting images
script: sudo -E bash build.sh
env:
[tox]
-envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,py39,cover,perm
+envlist = docs,pep8,pylint,yamllint,bashate,py39,cover,perm
skipsdist = True
[testenv]
commands =
yamllint -s {[testenv:yamllint]files}
-[testenv:ansiblelint]
-basepython = python3.9
-commands =
- ansible-lint -xcommand-instead-of-module,command-instead-of-shell,risky-shell-pipe ansible/site.yml
-
[testenv:py38]
commands = nosetests xtesting/tests/unit