Skip to content

Commit

Permalink
Build docs in CI (fixes #497) (#498)
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland authored Jul 9, 2024
1 parent 6bd39ba commit c4560da
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,19 @@ 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: |
'pyproject.toml'
'doc/requirements.txt'
- name: Install dependencies
run: python3 -m pip install -r doc/requirements.txt -e .
- 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
sphinx-autodoc-typehints~=2.2
furo~=2024.5

0 comments on commit c4560da

Please sign in to comment.