File tree 2 files changed +23
-7
lines changed
2 files changed +23
-7
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,29 @@ jobs:
33
33
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
34
34
- uses : actions/checkout@v2
35
35
36
- - name : Set up Python 3.10
37
- uses : actions /setup-python @v2
36
+ - name : Set up Miniconda
37
+ uses : conda-incubator /setup-miniconda @v2
38
38
with :
39
+ auto-update-conda : true
39
40
python-version : " 3.10"
40
41
41
42
- name : Install dependencies
42
43
run : |
43
44
python -m pip install --upgrade pip
44
45
pip install -r docsrc/requirements.txt
46
+ # Configure conda channels
47
+ conda config --env --add channels defaults
48
+ conda config --env --append channels conda-forge
49
+ conda config --env --prepend channels cadwr-dms
50
+ conda config --set channel_priority strict
51
+ # Install specific versions of dependencies
52
+ conda install -y -c conda-forge gdal
53
+ conda install -y schimpy=1.6.4
54
+ conda install -y vtools3=3.7.5
55
+ conda install -y dms-datastore=0.1.0
56
+ conda install -y suxarray
57
+ conda install -y matplotlib=3.5.3
58
+ conda install -y shapely<2.0
45
59
46
60
- name : Build HTML
47
61
run : |
Original file line number Diff line number Diff line change @@ -14,10 +14,12 @@ ipython # neededd for IPython.sphinxext.ipython_directive
14
14
pip
15
15
# baydelta specific stuff
16
16
# needed for many bdschism imports
17
- suxarray
18
- vtools
19
- dms_datastore
20
- schimpy
17
+ opencv-python # for vtools (cv2)
21
18
dynaconf
22
19
click
23
- pyproj
20
+ pyproj
21
+ # Handled in build_sphinx.yml via conda
22
+ # suxarray
23
+ # schimpy>=1.6.4 # Recommended for compatibility with current code
24
+ # vtools3>=3.7.5
25
+ # dms-datastore>=0.1.0
You can’t perform that action at this time.
0 commit comments