From 6f1061d3885073df84bb578441167d37975c1da5 Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Fri, 16 Oct 2026 12:29:18 -0400 Subject: [PATCH 1/2] ci: bump python to 3.15 Python 3.15.0 is out. Co-Authored-By: Claude --- .github/workflows/ruff.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index f5e040f..1a29e77 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v7 with: - python-version: "3.13" + python-version: "3.15" - name: Install dependencies run: | pip install -U pip diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dee38fc..2989c85 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v7 with: - python-version: "3.13" + python-version: "3.15" - name: Install dependencies run: | pip install -U pip From 017f726a6c41feb1f871b96108d0480e9fffd13b Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Fri, 16 Oct 2026 15:31:03 -0400 Subject: [PATCH 2/2] ci: run lint and tests from one workflow Replace ruff.yml and tests.yml with ci.yml (CI): a lint job and a test job, each per sample directory. The build job is now test. Co-Authored-By: Claude --- .github/workflows/ci.yml | 61 +++++++++++++++++++++++++++++++++++++ .github/workflows/ruff.yml | 35 --------------------- .github/workflows/tests.yml | 35 --------------------- 3 files changed, 61 insertions(+), 70 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/ruff.yml delete mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..17e9b6a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,61 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + +jobs: + lint: + runs-on: ubuntu-latest + timeout-minutes: 5 + strategy: + matrix: + directory: + - openai-agents-sdk + - pydantic-ai + - claude-agent-sdk + defaults: + run: + working-directory: ${{ matrix.directory }} + steps: + - uses: actions/checkout@v7 + - name: Set up Python + uses: actions/setup-python@v7 + with: + python-version: "3.15" + - name: Install dependencies + run: | + pip install -U pip + pip install -r requirements.txt + - name: Lint and check formatting + run: | + ruff check . + ruff format --check . + test: + runs-on: ubuntu-latest + timeout-minutes: 5 + strategy: + matrix: + directory: + - openai-agents-sdk + - pydantic-ai + - claude-agent-sdk + defaults: + run: + working-directory: ${{ matrix.directory }} + steps: + - uses: actions/checkout@v7 + - name: Set up Python + uses: actions/setup-python@v7 + with: + python-version: "3.15" + - name: Install dependencies + run: | + pip install -U pip + pip install -r requirements.txt + pip install ".[test]" + - name: Run all tests + run: | + pytest diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml deleted file mode 100644 index 1a29e77..0000000 --- a/.github/workflows/ruff.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Linting and formatting validation using ruff - -on: - push: - branches: [main] - pull_request: - -jobs: - lint: - runs-on: ubuntu-latest - timeout-minutes: 5 - strategy: - matrix: - directory: - - openai-agents-sdk - - pydantic-ai - - claude-agent-sdk - defaults: - run: - working-directory: ${{ matrix.directory }} - - steps: - - uses: actions/checkout@v7 - - name: Set up Python - uses: actions/setup-python@v7 - with: - python-version: "3.15" - - name: Install dependencies - run: | - pip install -U pip - pip install -r requirements.txt - - name: Lint and check formatting with ruff - run: | - ruff check . - ruff format --check . \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml deleted file mode 100644 index 2989c85..0000000 --- a/.github/workflows/tests.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Run all the unit tests - -on: - push: - branches: [main] - pull_request: - -jobs: - build: - runs-on: ubuntu-latest - timeout-minutes: 5 - strategy: - matrix: - directory: - - openai-agents-sdk - - pydantic-ai - - claude-agent-sdk - defaults: - run: - working-directory: ${{ matrix.directory }} - - steps: - - uses: actions/checkout@v7 - - name: Set up Python - uses: actions/setup-python@v7 - with: - python-version: "3.15" - - name: Install dependencies - run: | - pip install -U pip - pip install -r requirements.txt - pip install ".[test]" - - name: Run all tests - run: | - pytest