Skip to content

feat(generators): use uris in json-schema #959

feat(generators): use uris in json-schema

feat(generators): use uris in json-schema #959

Workflow file for this run

name: Build and test documentation
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test_docs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up python
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.6.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-docs-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
#----------------------------------------------
# install dependencies if cache does not exist
#----------------------------------------------
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --with docs -E black
- name: Build docs
working-directory: docs
env:
SPHINXOPTS: "-W --keep-going"
run: poetry run make html