[Audio support] merge into main #1
This file contains hidden or 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: Type Annotation and Docstring Coverage | |
| on: | |
| pull_request: | |
| paths: | |
| - '**/*.py' | |
| - '.github/workflows/type-coverage-check.yml' | |
| jobs: | |
| type-coverage-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # 🚨 Important: fetch full history so `origin/main` is available | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: | | |
| pip install gitpython | |
| pip install -e .[sglang] | |
| - name: Run type annotation coverage check | |
| run: | | |
| python3 tests/special_sanity/type_coverage_check.py | |
| - name: Run docstring coverage check | |
| run: | | |
| python3 tests/special_sanity/check_api_docs.py verl |