Skip to content

Commit 3a3cd43

Browse files
authored
Add docs build CLI (#178)
1 parent 3b5cd2c commit 3a3cd43

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,29 @@ jobs:
5353
file: ./coverage.xml
5454
fail_ci_if_error: true
5555

56+
57+
docs:
58+
59+
name: Test documentation build
60+
runs-on: ubuntu-latest
61+
steps:
62+
- uses: actions/checkout@v2
63+
- name: Set up Python 3.8
64+
uses: actions/setup-python@v1
65+
with:
66+
python-version: 3.8
67+
- name: Install dependencies
68+
run: |
69+
python -m pip install --upgrade pip
70+
pip install -e .[rtd]
71+
72+
# Build the docs
73+
- name: Build docs to store
74+
run: |
75+
cd docs
76+
make html-strict
77+
78+
5679
publish:
5780

5881
name: Publish to PyPi

0 commit comments

Comments
 (0)