A container that is used for GitHub actions molecule.
This container contains:
- docker - Used by molecule to start instances using the
docker
driver. - git - Used to pull data from a repository.
- molecule version 24.x.x - Used to orchestrate the tests.
- tox - Used to test multiple version of ansible if
tox.ini
exists. - flake8 - Modular source code checker.
The default behaviour is to:
- See if
tox.ini
exists -> Runtox
- Otherwise -> Run
molecule test
- Retry either (
tox
ormolecule
) 3 times. - Run
test
ifcommand
is not set. - Test the
default
scenario ifscenario
in not set.
Read how to test locally.