-
Notifications
You must be signed in to change notification settings - Fork 8
34 lines (32 loc) · 802 Bytes
/
test-docs.yml
File metadata and controls
34 lines (32 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Test Sphinx Build
on:
push:
branches:
- master
# - develop
- release-*
jobs:
docs:
runs-on: ubuntu-latest
# strategy:
# matrix:
# python: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python --version
- name: Install package in dev mode
run:
python -m pip install -e ".[dev]"
- name: Install Pandoc
run:
sudo apt-get install pandoc
- name: Build HTML
run:
sphinx-build -W -b html -d docs/doctrees docs/source docs/build/html