File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,31 @@ jobs:
1010 main :
1111 if : ${{ !(github.event.pull_request && github.event.action == 'closed') }}
1212 runs-on : ubuntu-latest
13+ defaults :
14+ run :
15+ shell : bash -el {0}
1316
1417 steps :
1518 - uses : actions/checkout@v2
1619 with :
1720 fetch-depth : 0
1821
19- - name : Add conda to system path
20- run : echo $CONDA/bin >> $GITHUB_PATH
22+ - name : Setup conda
23+ uses : conda-incubator/setup-miniconda@v2
24+ with :
25+ auto-update-conda : true
26+ run-post : false
27+ miniforge-variant : Mambaforge
28+ miniforge-version : latest
29+ environment-file : environment.yml
30+
31+ - name : Conda info
32+ run : |
33+ conda info
34+ conda list
2135
2236 - name : Sphinx
2337 run : |
24- conda env update -n base -f environment.yml --prune
2538 cd docs
2639 make html
2740
You can’t perform that action at this time.
0 commit comments