Skip to content

ACP Kit V1 Stable Release #7 #105

ACP Kit V1 Stable Release #7

ACP Kit V1 Stable Release #7 #105

Workflow file for this run

name: Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v7
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv venv
uv pip install -e ".[dev]"
- name: Check Formatting (make check-formatted)
run: |
source .venv/bin/activate
make check-formatted
- name: Check Code (make check)
run: |
source .venv/bin/activate
make check
- name: Run Tests (make tests)
run: |
source .venv/bin/activate
make tests
pydantic-ai-compatibility:
runs-on: ubuntu-latest
strategy:
matrix:
pydantic-ai-version: ["2.0.0", "2.1.0", "2.2.0", "2.3.0", "2.4.0"]
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Set up Python 3.11
run: uv python install 3.11
- name: Test Pydantic AI ${{ matrix.pydantic-ai-version }}
run: |
uv run --extra dev --with "pydantic-ai-slim==${{ matrix.pydantic-ai-version }}" \
pytest tests/pydantic tests/test_acpkit_cli.py tests/test_native_pydantic_agent.py -q
- name: Type check Pydantic AI ${{ matrix.pydantic-ai-version }}
run: |
uv run --extra dev --with "pydantic-ai-slim==${{ matrix.pydantic-ai-version }}" \
ty check packages/adapters/pydantic-acp/src tests/pydantic examples/pydantic \
tests/test_acpkit_cli.py tests/test_native_pydantic_agent.py
langchain-stack-compatibility:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Set up Python 3.11
run: uv python install 3.11
- name: Test and type check the supported LangChain stack
run: make check-langchain-stack