Skip to content

[Audio support] merge into main #1

[Audio support] merge into main

[Audio support] merge into main #1

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