Skip to content
Merged
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
43 changes: 43 additions & 0 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Claude Code E2E Test

on:
pull_request:
types: [opened, synchronize]

jobs:
integration-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4

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

- name: Install Claude Code
run: |
curl -fsSL https://claude.ai/install.sh | bash
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Verify Claude Code installation
run: claude -v

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -e .

- name: Run quickstart example
run: python examples/quick_start.py
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}

- name: Run streaming mode examples
run: timeout 120 python examples/streaming_mode.py all
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}