Skip to content

Molecule testing workflow #5

Molecule testing workflow

Molecule testing workflow #5

Workflow file for this run

---
name: Molecule testing workflow
on:
workflow_dispatch:
schedule:
- cron: "30 5 * * */3"
jobs:
Molecule:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt-get --assume-yes install podman python3-pip slirp4netns \
uidmap --no-install-recommends
python3 -m pip install --user -U ansible ansible-lint \
jmespath molecule-plugins[podman] passlib
- name: Run ansible-lint
run: |
ansible-lint
- name: Run molecule
run: |
ANSIBLE_KEEP_REMOTE_FILES=1 \
ANSIBLE_REMOTE_TMP="/var/tmp/${USER}/ansible" \
molecule test -s podman