Skip to content

Commit

Permalink
Add build docs github workflow (#112)
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 authored Dec 21, 2024
1 parent bd4fff7 commit 88642a8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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: Install pandoc
with:
sudo apt-get install pandoc

- 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 88642a8

Please sign in to comment.