diff --git a/test-playbooks/python/tox.ini b/test-playbooks/python/tox.ini index 8d08fa140..a71264736 100644 --- a/test-playbooks/python/tox.ini +++ b/test-playbooks/python/tox.ini @@ -1,6 +1,9 @@ [tox] +minversion = 3.2 envlist = linters skipsdist = true +# Test that we don't break when the requires feature is used +requires = tox-bindep [testenv] whitelist_externals = sh diff --git a/test-playbooks/python/tox.yaml b/test-playbooks/python/tox.yaml index d59317786..6d2cb1e6d 100644 --- a/test-playbooks/python/tox.yaml +++ b/test-playbooks/python/tox.yaml @@ -80,7 +80,8 @@ include_role: name: tox vars: - zuul_work_dir: "{{ zuul.project.src_dir }}/test-playbooks/python/" + # Make sure the tox_config_file option works + tox_config_file: test-playbooks/python tox_envlist: '%s' # Make sure we test with verbose output even if the default changes tox_extra_args: '-vv'