mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-24 22:30:28 +00:00
24 lines
628 B
YAML
24 lines
628 B
YAML
name: Test Documentation Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test_docs:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
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
|