File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change @@ -13,29 +13,23 @@ jobs:
13
13
- name : Checkout
14
14
uses : actions/checkout@v2
15
15
16
- - name : Verify paths
17
- run : |
18
- echo "CURRENT DIR ${GITHUB_WORKSPACE}"
19
- pwd
20
- echo "FIND IPYNAO"
21
- ls -al
22
-
23
16
- name : Install docs dependencies
24
17
uses : mamba-org/setup-micromamba@v1
25
18
with :
26
19
environment-file : docs/environment.yml
27
20
environment-name : docs-env
28
21
cache-environment : true
22
+ init-shell : >-
23
+ bash
29
24
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}
35
28
36
29
- name : Check docs can be build + links
37
30
working-directory : docs
38
31
run : |
39
32
sudo apt install -y pandoc
40
33
make html
41
- python -m pytest --check-links
34
+ python -m pytest --check-links
35
+ shell : micromamba-shell {0}
You can’t perform that action at this time.
0 commit comments