File tree 4 files changed +11302
-9
lines changed
4 files changed +11302
-9
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/setup-micromamba@v1
18
+ with :
19
+ environment-file : docs/environment.yml
20
+ environment-name : docs-env
21
+ cache-environment : true
22
+ init-shell : >-
23
+ bash
24
+
25
+ - name : Install package in environment
26
+ run : python -m pip install .
27
+ shell : micromamba-shell {0}
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
35
+ shell : micromamba-shell {0}
Original file line number Diff line number Diff line change 1
1
2
- name : ipynao_docs
2
+ name : docs-env
3
3
channels :
4
4
- conda-forge
5
5
dependencies :
@@ -10,3 +10,7 @@ dependencies:
10
10
- sphinx_rtd_theme
11
11
- nbsphinx
12
12
- nbsphinx-link
13
+ - yarn=1.21
14
+ - pytest
15
+ - nbval
16
+ - pytest-check-links
You can’t perform that action at this time.
0 commit comments