Skip to content

Commit

Permalink
github: build the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Aug 25, 2023
1 parent 32efc71 commit dd3f343
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: docs

on: ["push", "pull_request"]

jobs:
docs:
# We want to run on external PRs, but not on our own internal PRs as they'll be run
# by the push to the branch.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
architecture: 'x64'

- name: Checkout
uses: actions/checkout@v3

- name: Build
shell: bash
run: |
pip install -r requirements.txt
make cython
pip install .
- name: Sphinx Documentation Generator
run: |
pip install tox sphinx
tox -e sphinx

0 comments on commit dd3f343

Please sign in to comment.