Skip to content

Add reasoning/thinking tokens support to traces #651

Add reasoning/thinking tokens support to traces

Add reasoning/thinking tokens support to traces #651

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main]
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/**'
- 'pyproject.toml'
pull_request:
paths:
- 'src/**'
- 'tests/**'
- '.github/workflows/**'
- 'pyproject.toml'
workflow_dispatch:
jobs:
run-unit-tests:
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.11', '3.12', '3.13']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
activate-environment: true
- run: |
uv sync --group tests --extra all --extra a2a
- run: pytest tests/unit -v --cov --cov-report=xml
- name: Upload coverage reports to Codecov
if: always()
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}