Skip to content

Commit 18b79bb

Browse files
committed
Fix micromamba
1 parent 333ab05 commit 18b79bb

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,23 @@ jobs:
1313
- name: Checkout
1414
uses: actions/checkout@v2
1515

16-
- name: Verify paths
17-
run: |
18-
echo "CURRENT DIR ${GITHUB_WORKSPACE}"
19-
pwd
20-
echo "FIND IPYNAO"
21-
ls -al
22-
2316
- name: Install docs dependencies
2417
uses: mamba-org/setup-micromamba@v1
2518
with:
2619
environment-file: docs/environment.yml
2720
environment-name: docs-env
2821
cache-environment: true
22+
init-shell: >-
23+
bash
2924
30-
- name: Activate environment and install package
31-
run: |
32-
eval "$(micromamba shell hook --shell=bash)"
33-
micromamba activate docs-env
34-
python -m pip install .
25+
- name: Install package in environment
26+
run: python -c "pip install ."
27+
shell: bash -el {0}
3528

3629
- name: Check docs can be build + links
3730
working-directory: docs
3831
run: |
3932
sudo apt install -y pandoc
4033
make html
41-
python -m pytest --check-links
34+
python -m pytest --check-links
35+
shell: micromamba-shell {0}

0 commit comments

Comments
 (0)