File tree Expand file tree Collapse file tree 4 files changed +11302
-9
lines changed Expand file tree Collapse file tree 4 files changed +11302
-9
lines changed Original file line number Diff line number Diff line change 3434 if : ${{ matrix.os == 'ubuntu-latest' }}
3535 run : |
3636 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 11
2- name : ipynao_docs
2+ name : docs-env
33channels :
44 - conda-forge
55dependencies :
@@ -10,3 +10,7 @@ dependencies:
1010 - sphinx_rtd_theme
1111 - nbsphinx
1212 - 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