summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2017-03-06 12:39:20 -0500
committerJason DeTiberus <jdetiber@redhat.com>2017-03-06 13:53:41 -0500
commitfda3b434b73d5df3c9453dbd772b182b09a0f7e5 (patch)
treeb924602e6505d0fa3d4cd094c74955dad1a3af50 /tox.ini
parentc84081d84d39420d56d88d37d0e93e7cb473c430 (diff)
downloadopenshift-fda3b434b73d5df3c9453dbd772b182b09a0f7e5.tar.gz
openshift-fda3b434b73d5df3c9453dbd772b182b09a0f7e5.tar.bz2
openshift-fda3b434b73d5df3c9453dbd772b182b09a0f7e5.tar.xz
openshift-fda3b434b73d5df3c9453dbd772b182b09a0f7e5.zip
Consolidate root/utils tests
- Consolidate tests between the root of the repo and utils
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 7 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 13c87f5c4..643fa774d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,21 +1,24 @@
[tox]
minversion=2.3.1
envlist =
- py{27,35}-ansible22-{pylint,unit,flake8,yamllint,generate_validation}
+ py{27,35}-{flake8,pylint,unit}
+ py27-{yamllint,ansible_syntax,generate_validation}
skipsdist=True
skip_missing_interpreters=True
[testenv]
+skip_install=True
deps =
+ -rrequirements.txt
-rtest-requirements.txt
py35-flake8: flake8-bugbear
- ansible22: ansible~=2.2
commands =
+ unit: pip install -e utils
unit: pytest {posargs}
flake8: flake8 {posargs}
pylint: python setup.py lint
yamllint: python setup.py yamllint
generate_validation: python setup.py generate_validation
-
-
+ # TODO(rhcarvalho): check syntax of other important entrypoint playbooks
+ ansible_syntax: ansible-playbook --syntax-check playbooks/byo/config.yml