Skip to content

Commit bb44c02

Browse files
dario-cosciandem0
authored andcommitted
adding workflow testing doc
1 parent 24317b6 commit bb44c02

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/testing_doc.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test Sphinx Documentation Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'docs/**'
9+
pull_request:
10+
branches:
11+
- main
12+
paths:
13+
- 'docs/**'
14+
15+
jobs:
16+
docs:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v2
22+
23+
- name: Set up Python
24+
uses: ammaraskar/[email protected]
25+
pre-build-command: "python3 -m pip install .[docs]"
26+
docs-folder: "docs/"
27+
28+
- name: Build Sphinx documentation
29+
run: |
30+
cd docs
31+
make html

0 commit comments

Comments
 (0)