File tree Expand file tree Collapse file tree 4 files changed +11297
-8
lines changed Expand file tree Collapse file tree 4 files changed +11297
-8
lines changed Original file line number Diff line number Diff line change 34
34
if : ${{ matrix.os == 'ubuntu-latest' }}
35
35
run : |
36
36
yarn run lint:check
37
-
38
- - name : Check docs can be build + links
39
- if : ${{ matrix.os == 'ubuntu-latest' }}
40
- working-directory : docs
41
- run : |
42
- sudo apt install -y pandoc
43
- make html
44
- python -m pytest --check-links
Original file line number Diff line number Diff line change
1
+ name : Build Docs
2
+
3
+ on :
4
+ push :
5
+ branches : main
6
+ pull_request :
7
+ branches : " *"
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v2
15
+
16
+ - name : Install docs dependencies
17
+ uses : mamba-org/provision-with-micromamba@main
18
+ with :
19
+ environment-file : docs/env.yaml
20
+ environment-name : ipynao_docs
21
+ micromamba-version : ' 1.4.1'
22
+
23
+ - name : Activate environment and install package
24
+ run : |
25
+ eval "$(micromamba shell hook --shell=bash)"
26
+ micromamba activate ipynao_docs
27
+ python -m pip install .
28
+
29
+ - name : Check docs can be build + links
30
+ working-directory : docs
31
+ run : |
32
+ sudo apt install -y pandoc
33
+ make html
34
+ python -m pytest --check-links
Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ dependencies:
10
10
- sphinx_rtd_theme
11
11
- nbsphinx
12
12
- nbsphinx-link
13
+ - yarn=1.21
You can’t perform that action at this time.
0 commit comments