Skip to content

Commit 5377d7b

Browse files
authored
feat(ci): add action to test the build (#147)
Prevent the merge of PR that raises errors and warning. On some pages, there are errors that are preventing to correctly display the page.
1 parent 124a163 commit 5377d7b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/test-build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Pull Request Docs Check"
2+
on:
3+
- pull_request
4+
- workflow_dispatch
5+
6+
jobs:
7+
docs:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v1
11+
- uses: ammaraskar/sphinx-action@master
12+
with:
13+
docs-folder: "."
14+
pre-build-command: "pip install -r requirements.txt"
15+
build-command: "sphinx-build -W --keep-going . _build "

0 commit comments

Comments
 (0)