File tree Expand file tree Collapse file tree 2 files changed +27
-16
lines changed
Expand file tree Collapse file tree 2 files changed +27
-16
lines changed Original file line number Diff line number Diff line change @@ -33,26 +33,45 @@ jobs:
3333 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3434 - uses : actions/checkout@v2
3535
36- - name : Set up Python 3.10
36+ - name : Install system dependencies
37+ run : |
38+ sudo apt-get update
39+ sudo apt-get install -y libgfortran5
40+
41+ - name : Set up Python 3.11
3742 uses : actions/setup-python@v2
3843 with :
39- python-version : " 3.10"
44+ python-version : 3.11
45+
46+ - name : Add conda to system path
47+ run : |
48+ echo $CONDA/bin >> $GITHUB_PATH
4049
41- - name : Install dependencies
50+ - name : Conda build env for docs
4251 run : |
43- python -m pip install --upgrade pip
52+ conda env create -f schism_env.yml
53+ source $CONDA/etc/profile.d/conda.sh
54+ conda activate schism
55+ conda install -c conda-forge libgfortran=3
4456 pip install -r docsrc/requirements.txt
57+ pip install -e ./bdschism
4558
4659 - name : Build HTML
4760 run : |
61+ source $CONDA/etc/profile.d/conda.sh
62+ conda activate schism
4863 cd docsrc/
64+ # sphinx-apidoc --force -o . ../bdschism
65+ make clean
4966 make html
5067
5168 - name : Run ghp-import
5269 shell : bash
5370 env :
5471 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5572 run : |
73+ source $CONDA/etc/profile.d/conda.sh
74+ conda activate schism
5675 git config http.postBuffer 157286400
5776 git pull
5877
Original file line number Diff line number Diff line change 11# furo==2021.11.16
22sphinx >= 7.0
3+ pillow >= 4.0.0
34sphinx-design
45sphinx-argparse
56sphinxcontrib-bibtex
@@ -9,15 +10,6 @@ ghp-import # for GitHub Pages import
910nbsphinx
1011numpydoc
1112docutils
12- matplotlib # needed for matplotlib.sphinxext.mathmply
13- ipython # neededd for IPython.sphinxext.ipython_directive
14- pip
15- # baydelta specific stuff
16- # needed for many bdschism imports
17- suxarray
18- vtools
19- dms_datastore
20- schimpy
21- dynaconf
22- click
23- pyproj
13+ # matplotlib # removed, already in schism_env.yml
14+ # ipython # removed, already in schism_env.yml
15+ # pip # removed, already in schism_env.yml
You can’t perform that action at this time.
0 commit comments