-
Notifications
You must be signed in to change notification settings - Fork 119
44 lines (41 loc) · 1.15 KB
/
sphinx.yml
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
name: Sphinx
on:
pull_request:
push:
jobs:
linkcheck:
name: Link Check
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.7'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Check for broken links
run: sphinx-build -q --color -b linkcheck source build
build:
name: Build Check
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Graphviz
run: sudo apt update && sudo apt install -y graphviz
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.7'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Load problem matcher
uses: ammaraskar/sphinx-problem-matcher@master
- name: Check for build issues
run: sphinx-build -W --keep-going -b dummy source build