Hi Rich,
Am Fr., 6. März 2020 um 01:06 Uhr schrieb Rich Megginson < rmeggins@redhat.com>:
I'm looking at adding support for tox to all of the roles that don't currently use tox. For example, here is diff of .travis.yml from kdump:
script:
- molecule --version
- ansible --version
- molecule lint
- molecule syntax
- molecule test
- ./.travis/runtox
and here is the relevant section from tox:
[tox] envlist = black, pylint, flake8, py{26,27,36,37,38}, custom
molecule is not in this list. Should we add molecule to this list? Seems like we should, or tox conversion will regress travis CI behavior.
we use a tox plugin in the template that makes it use a different set of tests in Travis: https://github.com/linux-system-roles/template/blob/master/tox.ini#L263
The envlist at the start is meant for environments that are run by default by the user. Since molecule requires special configuration to be able to run docker, it does not make sense to add it there IMHO. If wanted, developers can still run it with "tox -e molecule".
Kind regards Till