mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-14 13:32:10 +00:00
CI: pin ansible-core version for ansible-doc-test.
This patch adds ansible-core version to 2.11 when evaluating documentation with ansible-doc-test, so both 2.9 (ansible) and 2.11 (ansible-core) are covered when testing documentation, along with the latest Ansible version available.
This commit is contained in:
16
.github/workflows/docs.yml
vendored
16
.github/workflows/docs.yml
vendored
@@ -17,8 +17,21 @@ jobs:
|
|||||||
python -m pip install "ansible < 2.10"
|
python -m pip install "ansible < 2.10"
|
||||||
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
|
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
|
||||||
|
|
||||||
|
check_docs_2_11:
|
||||||
|
name: Check Ansible Documentation with ansible-core 2.11.
|
||||||
|
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: |
|
||||||
|
python -m pip install "ansible-core >=2.11,<2.12"
|
||||||
|
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
|
||||||
|
|
||||||
check_docs_latest:
|
check_docs_latest:
|
||||||
name: Check Ansible Documentation with latest Ansible.
|
name: Check Ansible Documentation with latest Ansible version.
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -29,4 +42,3 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install ansible
|
python -m pip install ansible
|
||||||
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
|
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user