-
Notifications
You must be signed in to change notification settings - Fork 34
26 lines (24 loc) · 1013 Bytes
/
documentation.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Build documentation and deploy
on:
push:
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2.1.1
with:
auto-activate-base: true
installer-url: https://github.com/conda-forge/miniforge/releases/download/4.10.1-0/Miniforge-pypy3-4.10.1-0-Linux-x86_64.sh
channels: anaconda,conda-forge,loop3d,conda-forge/label/cf202003
python-version: 3.8
- name: Build documentation
shell: bash -l {0}
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
conda install -c conda-forge theano cython numpy pandas imageio scipy matplotlib sphinx sphinx-gallery sphinxcontrib-bibtex pydata-sphinx-theme myst-parser scikit-learn scikit-image pyamg flake8 pytest networkx python=3.9 -y
pip install lavavu-osmesa
python setup.py install build_ext --inplace
cd docs
make html