Add missing type annotations to the primitives.pyi
fixture (#15871)
#2629
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: Check documentation build | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main, master, 'release*'] | |
tags: ['*'] | |
pull_request: | |
paths: | |
- 'docs/**' | |
- 'mypyc/doc/**' | |
- '**/*.rst' | |
- '**/*.md' | |
- CREDITS | |
- LICENSE | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
env: | |
TOXENV: docs | |
TOX_SKIP_MISSING_INTERPRETERS: False | |
VERIFY_MYPY_ERROR_CODES: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' | |
- name: Install tox | |
run: pip install --upgrade 'setuptools!=50' tox==4.4.4 | |
- name: Setup tox environment | |
run: tox run -e ${{ env.TOXENV }} --notest | |
- name: Test | |
run: tox run -e ${{ env.TOXENV }} --skip-pkg-install |