Skip to content

Add testing for Pydantic 1/2 (#42) #123

Add testing for Pydantic 1/2 (#42)

Add testing for Pydantic 1/2 (#42) #123

Workflow file for this run

name: Documentation
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install .
pip install sphinx sphinx-autodoc-typehints sphinx-automodapi sphinx_rtd_theme
sudo apt-get install graphviz
- name: Build documentation
run: sphinx-build -a docs/source build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build