Skip to content

Docs

Docs #77

Workflow file for this run

name: Docs
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
schedule:
# Run a cron job once weekly on Monday
- cron: "0 3 * * 1"
jobs:
docs:
name: Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: "3.8"
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: test
environment-file: devtools/conda-envs/test_env.yaml
channels: conda-forge,defaults
- name: Additional info about the build
shell: bash
run: |
uname -a
df -h
ulimit -a
- name: Install package
shell: bash -l {0}
run: |
pip install . --no-deps -vv
- name: Environment Information
shell: bash -l {0}
run: |
conda info --all
conda list
- name: Run Sphinx
shell: bash -l {0}
run: |
cd docs
make clean
SPHINXOPTS="-j2 -T --keep-going" make html