Skip to content

Fix inconsistency between type[T] and typing.Type[T] annotations #798

Fix inconsistency between type[T] and typing.Type[T] annotations

Fix inconsistency between type[T] and typing.Type[T] annotations #798

Workflow file for this run

name: coverage
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
pip install uv
uv pip install --system -e ".[dev]"
- name: Generate coverage report
run: |
pytest --cov=tyro --cov-report=xml
- name: Upload to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
verbose: true