-
Notifications
You must be signed in to change notification settings - Fork 547
56 lines (45 loc) · 1.15 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Ansible Docsite CI
on:
push:
branches-ignore:
- 'patchback/**'
pull_request:
jobs:
docs_sanity_docs_build:
name: docs-build
runs-on: ubuntu-22.04
steps:
- name: Checkout Docsite
uses: actions/checkout@v4
- name: Install Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Test Requirements
run: |
python -m pip install -r tests/requirements.txt
- name: Graft ansible-core
run: |
python docs/bin/clone-core.py
- name: Run docs-build Checkers
run: |
python tests/checkers.py docs-build
docs_sanity_rstcheck:
name: rstcheck
runs-on: ubuntu-22.04
steps:
- name: Checkout Docsite
uses: actions/checkout@v4
- name: Install Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Test Requirements
run: |
python -m pip install -r tests/requirements.txt
- name: Graft ansible-core
run: |
python docs/bin/clone-core.py
- name: Run rstcheck Checkers
run: |
python tests/checkers.py rstcheck