mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-08-03 05:14:41 +00:00
upstream CI: Enable ansible-doc-test for ansible-core 2.12.
This commit is contained in:
28
.github/workflows/docs.yml
vendored
28
.github/workflows/docs.yml
vendored
@@ -12,9 +12,11 @@ jobs:
|
|||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- name: Run ansible-doc-test
|
- name: Install Ansible 2.9
|
||||||
run: |
|
run: |
|
||||||
python -m pip install "ansible < 2.10"
|
python -m pip install "ansible < 2.10"
|
||||||
|
- name: Run ansible-doc-test
|
||||||
|
run: |
|
||||||
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:
|
check_docs_2_11:
|
||||||
@@ -25,9 +27,27 @@ jobs:
|
|||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- name: Run ansible-doc-test
|
- name: Install Ansible 2.11
|
||||||
run: |
|
run: |
|
||||||
python -m pip install "ansible-core >=2.11,<2.12"
|
python -m pip install "ansible-core >=2.11,<2.12"
|
||||||
|
- name: Run ansible-doc-test
|
||||||
|
run: |
|
||||||
|
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
|
||||||
|
|
||||||
|
check_docs_2_12:
|
||||||
|
name: Check Ansible Documentation with ansible-core 2.12.
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: '3.x'
|
||||||
|
- name: Install Ansible 2.12
|
||||||
|
run: |
|
||||||
|
python -m pip install "ansible-core >=2.12,<2.13"
|
||||||
|
- name: Run ansible-doc-test
|
||||||
|
run: |
|
||||||
|
python -m pip install "ansible-core >=2.12,<2.13"
|
||||||
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_latest:
|
check_docs_latest:
|
||||||
@@ -38,7 +58,9 @@ jobs:
|
|||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- name: Run ansible-doc-test
|
- name: Install Ansible-latest
|
||||||
run: |
|
run: |
|
||||||
python -m pip install ansible
|
python -m pip install ansible
|
||||||
|
- name: Run ansible-doc-test
|
||||||
|
run: |
|
||||||
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