forked from gijzelaerr/python-snap7
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (29 loc) · 700 Bytes
/
doc.yml
File metadata and controls
29 lines (29 loc) · 700 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
name: Documentation
on:
push:
branches: [master]
pull_request:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Install dependencies
run: |
uv venv
uv pip install ".[doc,cli]"
- name: Run doc
run: uv run sphinx-build -N -bhtml doc/ doc/_build -W