mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
This change add support for running ansible-doc-test on every commit or PR, ensuring that roles and modules are able to produce correct documentation with ansible-doc.
17 lines
397 B
YAML
17 lines
397 B
YAML
---
|
|
name: Verify Ansible documentation.
|
|
on:
|
|
- push
|
|
- pull_request
|
|
jobs:
|
|
check_docs:
|
|
name: Check Ansible Documentation.
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Run ansible-doc-test
|
|
run: ANSIBLE_LIBRARY="." python utils/ansible-doc-test roles plugins
|