Debian Codegraph @

.github/workflows/docs-ci.yml

raw
1 name: CI Documentation
2
3 on: [push, pull_request]
4
5 jobs:
6 build:
7 runs-on: ubuntu-22.04
8
9 strategy:
10 max-parallel: 4
11 matrix:
12 python-version: [3.9]
13
14 steps:
15 - name: Checkout code
16 uses: actions/checkout@v3
17
18 - name: Set up Python ${{ matrix.python-version }}
19 uses: actions/setup-python@v4
20 with:
21 python-version: ${{ matrix.python-version }}
22
23 - name: Install Dependencies
24 run: pip install -e .[docs]
25
26 - name: Check Sphinx Documentation build minimally
27 working-directory: ./docs
28 run: python3 -m sphinx -E -W source build
29
30 - name: Check for documentation style errors
31 working-directory: ./docs
32 run: ./scripts/doc8_style_check.sh
33
34