summaryrefslogtreecommitdiffstats
path: root/.github/workflows/test-docs.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test-docs.yml')
-rw-r--r--.github/workflows/test-docs.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml
new file mode 100644
index 0000000..070ce7a
--- /dev/null
+++ b/.github/workflows/test-docs.yml
@@ -0,0 +1,23 @@
+name: Test Documentation Build
+
+on: [push, pull_request]
+
+jobs:
+ test_docs:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version: ["3.10"]
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v4
+ with:
+ python-version: ${{ matrix.python-version }}
+ cache: pip
+ - name: Install dependencies for docs
+ run: |
+ python -m pip install -r docs/requirements.txt
+ - name: Build documentation
+ run: |
+ cd docs && make clean && make html