29 lines
598 B
YAML
29 lines
598 B
YAML
name: CI-Documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
pull_request:
|
|
|
|
jobs:
|
|
unit_tests:
|
|
name: Test rendering Sphinx ReST documentation
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: [3.8]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Python${{ matrix.python-version }}
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install Tox
|
|
run: |
|
|
sudo apt update && sudo apt install tox
|
|
- name: Run sphinx build
|
|
run: |
|
|
tox -e doc
|