diff --git a/test-requirements.txt b/test-requirements.txt index 5d53074af..8bad50e0a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,3 +8,4 @@ ansible-lint bashate>=0.2 sphinx>=1.5.1,<1.6.0 # BSD oslosphinx>=4.7.0 # Apache-2.0 +-e git://git.openstack.org/openstack-infra/zuul@feature/zuulv3#egg=zuul diff --git a/tox.ini b/tox.ini index ed7e6dd19..0e78ce16d 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ skipsdist = True envlist = linters [testenv] +basepython = python3 install_command = pip install {opts} {packages} deps = -r{toxinidir}/test-requirements.txt commands = @@ -23,6 +24,7 @@ commands = python setup.py build_sphinx [testenv:linters] setenv = ANSIBLE_CONFIG = {toxinidir}/tests/ansible.cfg + ANSIBLE_LIBRARY= {envdir}/src/zuul/zuul/ansible/library whitelist_externals = bash commands = flake8 {posargs}