From b32b1b02cc7fd9cc47d4c9e9424d5b78d596c5f0 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman <rjeffman@redhat.com> Date: Thu, 29 Oct 2020 11:54:12 -0300 Subject: [PATCH] Add action to verify Ansible documentation on each commit or PR. 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. --- .github/workflows/docs.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 00000000..b2aa5f74 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,16 @@ +--- +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 -- GitLab