Skip to content

Latest commit

 

History

History
executable file
·
30 lines (23 loc) · 2.92 KB

File metadata and controls

executable file
·
30 lines (23 loc) · 2.92 KB

container-github-action-molecule

A container that is used for GitHub actions molecule.

github-action-molecule build status

This container contains:

  • podman - Used by molecule to start instances using the podman driver.
  • git - Used to pull data from a repository.
  • molecule - Used to orchestrate the tests.
  • tox - Used to test multiple version of ansible if tox.ini exists.
  • pyenv - Used to manage python versions.
  • python (upstream supported versions) - Used by Ansible to run and can be used with tox to test multiple versions.
  • testinfra - Used to test your infrastructure.
  • 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.
  • yamllint - A command-line tool for linting YAML files.

The default behaviour is to:

  • See if tox.ini exists -> Run tox
  • Otherwise -> Run molecule test
  • Retry either (tox or molecule) 3 times.
  • Run test if command is not set.
  • Test the default scenario if scenario in not set.

Read how to test locally.