Skip to content

Commit

Permalink
CI: Build docs in CI
Browse files Browse the repository at this point in the history
Resolves #497
  • Loading branch information
erlend-aasland committed Jul 7, 2024
1 parent 62e9c1f commit 96bb243
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,17 @@ jobs:
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
cache: 'pip'
cache-dependency-path: 'doc/requirements.txt'
- name: Install dependencies
run: python3 -m pip install -r doc/requirements.txt
- name: Build docs
run: make -C doc html
6 changes: 3 additions & 3 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sphinx
sphinx-autodoc-typehints
furo
sphinx==7.3.7
sphinx-autodoc-typehints==2.2.2
furo==2024.5.6

0 comments on commit 96bb243

Please sign in to comment.