Skip to content

Commit

Permalink
Add build docs workflow to github
Browse files Browse the repository at this point in the history
Until the the readthedocs hook is fixed we use this workflow to verify
the doc.
  • Loading branch information
agoscinski committed Dec 21, 2024
1 parent fe978ca commit dd7d4fa
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build docs

on:
push:
branches: [main]
pull_request:
# Check all PR

jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-22.04
python-version: "3.11"

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install tox

- name: run sphinx docs build
run: tox -e docs

0 comments on commit dd7d4fa

Please sign in to comment.