Skip to content

Test extras

Test extras #12

Workflow file for this run

name: docs build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install pandoc and doxygen
run: |
sudo apt install pandoc doxygen
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: 'pyproject.toml'
- name: Install dependencies and pynucastro
run: |
python -m pip install --upgrade pip
pip install .[docs]
- name: Build docs
run: |
cd docs/
make SPHINXOPTS='-v -W --keep-going -n' html
- name: Check links
run: |
cd docs/
make SPHINXOPTS=-v linkcheck