Skip to content

Commit

Permalink
ci: add check for sphinx autodocs
Browse files Browse the repository at this point in the history
Fix #115
  • Loading branch information
jkhsjdhjs authored and s-heppner committed Jan 9, 2024
1 parent 58b7c98 commit 600d393
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,24 @@ jobs:
run: |
codeblocks python README.md | python
docs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.X_PYTHON_VERSION }}
uses: actions/setup-python@v2
with:
python-version: ${{ env.X_PYTHON_VERSION }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r docs/add-requirements.txt
- name: Check documentation for errors
run: |
SPHINXOPTS="-a -E -n -W --keep-going" make -C docs html
package:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 600d393

Please sign in to comment.