2022-11-28 17:24:45 +00:00
|
|
|
name: Test Documentation Build
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test_docs:
|
|
|
|
runs-on: ubuntu-latest
|
2022-12-18 05:26:15 +00:00
|
|
|
timeout-minutes: 5
|
2022-11-28 17:24:45 +00:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2023-11-09 19:19:56 +00:00
|
|
|
python-version: ["3.11"]
|
2022-11-28 17:24:45 +00:00
|
|
|
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
|