Files
ansible-role-sudo/.gitea/workflows/molecule.yml
T
CSRBot c69f4357bc
Ansible Linter / ansible-lint (pull_request) Successful in 3m24s
Lint Markdown files / markdown-lint (pull_request) Successful in 13s
Lint Markdown files / markdown-lint (push) Successful in 10s
Ansible Linter / ansible-lint (push) Successful in 3m21s
Molecule / Molecule (pull_request) Successful in 6m3s
Molecule / Molecule (push) Successful in 5m52s
chore(deps): update actions/checkout action to v7
2026-09-15 19:15:03 +00:00

31 lines
777 B
YAML

name: Molecule
on:
pull_request:
types: [ "opened", "reopened", "synchronize" ]
push:
branches: [ '**' ]
tags-ignore: [ '**' ]
permissions:
contents: read
jobs:
molecule:
name: Molecule
runs-on: ubuntu-latest-amd64
steps:
# The scenario includes the role by its name, so the directory must be named like the role and not like the
# repository. Its parent is used as roles path.
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
path: sudo
- name: Install molecule
run: |
apt update --yes
apt install --yes python3-pip
pip3 install --break-system-packages molecule docker
- name: Run molecule
run: molecule test
working-directory: sudo