Skip to content

Commit

Permalink
add activate base environment commands to conda docs runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz-Alexander-Kern committed Feb 7, 2023
1 parent 3924988 commit d4400c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ jobs:
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
path: ~/runner/.cache/pip
# Look to see if there is a cache hit for the corresponding requirements files
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-docs.txt') }}-${{ hashFiles('**/requirements-tutorials.txt') }}-${{ hashFiles('**/environment-docs.yml') }}
-${{ hashFiles('**/CI.yml') }}-${{ steps.date.outputs.date }}
Expand All @@ -398,6 +398,7 @@ jobs:
pip install -r requirements/requirements-docs.txt
pip install -r requirements/requirements-tutorials.txt
conda env update --file requirements/environment-docs.yml --name base
activate base
conda install -c conda-forge openmpi
conda install -c conda-forge pandoc
pip install -e .[extras]
Expand All @@ -406,11 +407,13 @@ jobs:
- name: List packages
run: |
activate base
pip list
conda list
python --version
- name: make html
run: |
activate base
cd doc
make html

0 comments on commit d4400c2

Please sign in to comment.