docker-github-action-molecule
| Forked from https://github.com/robertdebock/docker-github-action-molecule
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 3.x.x - Used to orchestrate the tests
- tox - Used to test multiple version of ansible if
tox.ini
exists. - ansible-later - A best practice scanner and linting tool.
- ansible-lint - A command-line tool for linting playbooks, roles and collections aimed towards any Ansible users.
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.