Skip to content

Add workflow for molecule tests #4

Add workflow for molecule tests

Add workflow for molecule tests #4

Workflow file for this run

---
name: CI - Molecule
on:
pull_request:
push:
branches:
- main
- stable-*
jobs:
test:
name: Molecule
runs-on: self-hosted
steps:
- name: Check out the codebase
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12.0'
- name: Install dependencies.
run: pip3 install yamllint ansible-lint ansible "molecule[lint,docker]"
- name: Run molecule
run: molecule test -s get_xml_tag