Skip to content

Commit 88642a8

Browse files
authored
Add build docs github workflow (#112)
Until the the readthedocs hook is fixed we use this workflow to verify the doc.
1 parent bd4fff7 commit 88642a8

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build-docs.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build docs
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
# Check all PR
8+
9+
jobs:
10+
tests:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
include:
15+
- os: ubuntu-22.04
16+
python-version: "3.11"
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- Name: Install pandoc
22+
with:
23+
sudo apt-get install pandoc
24+
25+
- name: Set up Python ${{ matrix.python-version }}
26+
uses: actions/setup-python@v4
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
- run: pip install tox
30+
31+
- name: run sphinx docs build
32+
run: tox -e docs

0 commit comments

Comments
 (0)