Fix excessive tracebacks when sigint:ing a .map call [CLI-33] #5452
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: | |
# Cancel previous runs of the same PR but do not cancel previous runs on main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
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 |