add CI for test_partition_functions (#1673) #2862
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docs build | |
on: | |
push: | |
branches: | |
- development | |
- main | |
pull_request: | |
branches: | |
- development | |
env: | |
# enable color output from Sphinx | |
FORCE_COLOR: "1" | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pandoc and doxygen | |
run: | | |
sudo apt install pandoc doxygen | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: "pip" | |
- name: Install dependencies | |
run: pip install -r ./requirements.txt | |
- name: Build docs | |
run: | | |
cd sphinx_docs/ | |
make SPHINXOPTS='-v -W --keep-going' html | |
- name: Link check | |
run: | | |
cd sphinx_docs/ | |
make SPHINXOPTS=-v linkcheck |