A GitHub action to test your Ansible role using Molecule.
For information on this Python package see README.rst.
The molecule scenario to run. Default default
If false you are responsible for creating the Python environment, default true (this action will create a virtualenv ~/venv and install dependencies).
The version of the ome-ansible-molecule meta-package to install for running the Molecule tests. Default: 0.5.*
Here is a default configuration.
---
on:
- push
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: checkout
uses: actions/checkout@v2
- name: molecule
uses: ome/action-ome-ansible-molecule@main