Skip to content

Commit 1153547

Browse files
zimegClaude
andcommitted
Merge branch 'main' into clack/coding-agent-pydantic-ai
Moves the pydantic-ai lint and test matrix entries into the combined ci.yml workflow. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
2 parents 39b237b + 17c052b commit 1153547

4 files changed

Lines changed: 67 additions & 79 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 5
16+
strategy:
17+
matrix:
18+
directory:
19+
- openai-agents-sdk
20+
- pydantic-ai
21+
defaults:
22+
run:
23+
working-directory: ${{ matrix.directory }}
24+
steps:
25+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
26+
with:
27+
persist-credentials: false
28+
- name: Set up Python
29+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
30+
with:
31+
python-version: "3.15"
32+
- name: Install dependencies
33+
run: |
34+
pip install -U pip
35+
pip install -r requirements.txt
36+
- name: Lint and check formatting
37+
run: |
38+
ruff check .
39+
ruff format --check .
40+
test:
41+
runs-on: ubuntu-latest
42+
timeout-minutes: 5
43+
strategy:
44+
matrix:
45+
directory:
46+
- openai-agents-sdk
47+
- pydantic-ai
48+
defaults:
49+
run:
50+
working-directory: ${{ matrix.directory }}
51+
steps:
52+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
53+
with:
54+
persist-credentials: false
55+
- name: Set up Python
56+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
57+
with:
58+
python-version: "3.15"
59+
- name: Install dependencies
60+
run: |
61+
pip install -U pip
62+
pip install -r requirements.txt
63+
pip install ".[test]"
64+
- name: Run all tests
65+
run: |
66+
pytest

‎.github/workflows/ruff.yml‎

Lines changed: 0 additions & 39 deletions
This file was deleted.

‎.github/workflows/tests.yml‎

Lines changed: 0 additions & 39 deletions
This file was deleted.

‎AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ openai-agents-sdk/ # OpenAI Agents SDK implementation
3636
pydantic-ai/ # Pydantic AI implementation
3737
```
3838

39-
CI runs ruff and pytest against each directory with a matrix in `.github/workflows/ruff.yml` and `.github/workflows/tests.yml`. Dependabot watches each directory separately. When adding an implementation, add its directory to both workflow matrices, to `.github/dependabot.yml`, and to the framework table in the root `README.md`.
39+
CI runs ruff and pytest against each directory with a matrix in `.github/workflows/ci.yml`. Dependabot watches each directory separately. When adding an implementation, add its directory to both job matrices, to `.github/dependabot.yml`, and to the framework table in the root `README.md`.
4040

4141
## Architecture
4242

0 commit comments

Comments
 (0)