Skip to content

Commit 1676c98

Browse files
zimegClaude
andcommitted
Merge branch 'main' into clack/coding-agent-claude-agent-sdk
Moves the claude-agent-sdk lint and test matrix entries into the combined ci.yml workflow. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
2 parents c748a19 + 5656853 commit 1676c98

6 files changed

Lines changed: 67 additions & 90 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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+
- claude-agent-sdk
20+
- openai-agents-sdk
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 -e ".[dev]"
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+
- claude-agent-sdk
47+
- openai-agents-sdk
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 ".[test]"
63+
- name: Run all tests
64+
run: |
65+
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 @@ claude-agent-sdk/ # Claude Agent SDK implementation
3636
openai-agents-sdk/ # OpenAI Agents SDK 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

‎openai-agents-sdk/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ source .venv/bin/activate # for Windows OS, .\.venv\Scripts\Activate instead sh
138138
#### Install dependencies
139139

140140
```sh
141-
pip install -r requirements.txt
141+
pip install -e ".[dev]"
142142
```
143143

144144
## Providers

‎openai-agents-sdk/requirements.txt‎

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

0 commit comments

Comments
 (0)