-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (38 loc) · 1.27 KB
/
Copy pathci.yml
File metadata and controls
42 lines (38 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI
on:
push:
pull_request:
jobs:
test:
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: python -m pip install -e .
- name: Run unit tests
run: python -m unittest discover -s tests
- name: Run reference contract suite
run: agent-shell-contract run --adapter subprocess-reference
optional-adapters:
name: Optional adapter smoke tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install optional adapters
run: python -m pip install -e ".[acp,pydantic-ai-harness]"
- name: ACP local terminal adapter
run: agent-shell-contract run --adapter acp-local-terminal
- name: Pydantic AI Harness adapter smoke
run: agent-shell-contract run --adapter pydantic-ai-harness --fixture output-before-exit