Skip to content

(refactor) Context-based resolution for generic types #845

(refactor) Context-based resolution for generic types

(refactor) Context-based resolution for generic types #845

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