Skip to content

Commit 5b75198

Browse files
committed
test built result on 'build documentation' ci
1 parent b155722 commit 5b75198

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docs-preview.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
name: website
3636
path: site/
3737

38+
- name: Test built result
39+
run: pytest .\tests\test_documentation_build.py
40+
3841
- name: Deploy docs preview to Netlify
3942
uses: nwtgck/[email protected]
4043
with:

tests/test_documentation_build.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ def test_docs_general_functions_present():
3030
This is an awesome thing that we could use help with in the future.
3131
"""
3232

33-
# Build docs using mkdocs
34-
os.system("mkdocs build --clean")
35-
3633
# We want to check that the following keywords are all present.
3734
# I put in a subsample of general functions.
3835
# This can be made much more robust.

0 commit comments

Comments
 (0)