Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
# .github/workflows/ci.yml
name: CI
on: [push, pull_request]
on: [push]

jobs:
run-make:
name: ${{ matrix.name }}
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- { name: "make check", cmd: "make check" }
- { name: "make test", cmd: "make test" }
- { name: "make format --check", cmd: "make format FLAGS=--check" }
python-version: ['3.12', '3.13', '3.14']
task: [check, test, format]
name: ${{ matrix.task }} (py ${{ matrix.python-version }})

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: ${{ matrix.python-version }}

- name: Cache uv
uses: actions/cache@v4
Expand All @@ -36,4 +35,13 @@ jobs:
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> $GITHUB_PATH

- run: ${{ matrix.cmd }}
- name: Select command
run: |
case "${{ matrix.task }}" in
check) echo "CMD=make check" >> $GITHUB_ENV ;;
test) echo "CMD=make test" >> $GITHUB_ENV ;;
format) echo "CMD=make format FLAGS=--check" >> $GITHUB_ENV ;;
esac

- name: Run
run: $CMD
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ scaling: venv
build: venv
uv build

.PHONY: release
release: venv
.venv/bin/python tools/release.py $(version)

.PHONY: venv
venv: .venv

Expand Down
16 changes: 15 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,20 @@ authors = [
{ name = "Umesh Madan" },
{ name = "Guido van Rossum" },
]
requires-python = ">=3.12,<3.14"
requires-python = ">=3.12"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Typing :: Typed",
]
dependencies = [
"azure-identity>=1.22.0",
"black>=25.1.0",
Expand All @@ -30,6 +43,7 @@ dependencies = [
"opentelemetry-instrumentation-httpx>=0.57b0",
"pydantic>=2.11.4",
"pydantic-ai-slim[openai]>=0.5.0",
"pydantic-core>=2.41.1",
"pyright>=1.1.405",
"pytest>=8.3.5",
"pytest-asyncio>=0.26.0",
Expand Down
Empty file added typeagent/py.typed
Empty file.
Loading