Refactor container entrypoint to use same handler for both sync and sync functions #3067
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
doc-test: | |
name: Doc generation tests | |
timeout-minutes: 5 | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-cached-python | |
- name: Build protobuf | |
run: inv protoc | |
- name: Install package + deps | |
run: pip install -e . # Makes sure doc generation doesn't break on client imports etc. | |
- name: Generate reference docs | |
run: python -m modal_docs.gen_reference_docs reference_docs_output | |
- name: Generate CLI docs | |
run: python -m modal_docs.gen_cli_docs cli_docs |