Skip to content

Commit

Permalink
AVRO-3686: Add job for the Python docs
Browse files Browse the repository at this point in the history
Co-authored-by: Michael A. Smith <[email protected]>
  • Loading branch information
martin-g and kojiromike authored Jul 21, 2023
1 parent 6e219cc commit 2ddaa80
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,29 @@ jobs:
name: api-java
path: lang/java/target/site/apidocs

build-api-python:
name: Build Python API docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install tox
run: python3 -m pip install tox

- name: Build docs
working-directory: lang/py
run: ./build.sh doc

- uses: actions/upload-artifact@v3
with:
name: api-python
path: lang/py/docs/build/
push-website:
name: Push website
needs: [build-website, build-api-c, build-api-cpp, build-api-csharp, build-api-java]
Expand Down

0 comments on commit 2ddaa80

Please sign in to comment.