zuul-jobs/test-playbooks/python/tox.ini
Jeremy Stanley 31a470245b Test tox.requires doesn't break sibling installs
Update the alternate tox.ini files in test-playbooks/python to
trigger configuration we saw expose a bug in the siblings lib's
showconfig parser when a tox.requires value resulted in pip
activity. Update its minversion to the earliest tox which provides
the tox.requires configuration option, for clarity.

While we're there, switch to using tox_config_file instead of
overriding zuul_work_dir since that's now an option for this role
and was previously not exercised in the test job.

Change-Id: I521580da978903cd116c872447b1c028c470e63d
2021-10-01 12:46:14 +00:00

19 lines
359 B
INI

[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
[testenv:linters]
commands = sh -c "echo linters >> {posargs}"
[testenv:non-default]
commands = sh -c "echo non-default >> {posargs}"
[testenv:%s]
commands = sh -c "echo working"