Skip to content

Conversation

@ashwin-ant
Copy link
Collaborator

@ashwin-ant ashwin-ant commented Sep 7, 2025

Summary

  • Added GitHub Actions workflow to test SDK integration with Claude Code CLI
  • Tests run on PR open/synchronize events across Python 3.10-3.13

Test plan

  • Workflow triggers on PR events
  • Installs Claude Code CLI via official script
  • Runs quickstart example
  • Runs streaming_mode example

🤖 Generated with Claude Code

- Add GitHub Actions workflow that runs on PR open/synchronize
- Install Claude Code CLI via official install script
- Run quickstart example and dedicated e2e tests
- Test across Python 3.10-3.13
- Add basic integration tests and file operation tests

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Remove parentheses from main function in anyio.run() call
- Change test to check for file content rather than specific word extraction
- Add system prompt for consistency
- Check for key phrases in response to validate file was read
- Remove custom e2e test files
- Run examples/quick_start.py directly
- Run examples/streaming_mode.py with 120s timeout
- Remove || true to properly fail on errors
@ashwin-ant ashwin-ant changed the title Add CI workflow for Claude Code SDK integration testing Add CI workflow for Claude Code SDK e2e testing Sep 7, 2025
@ashwin-ant ashwin-ant requested a review from a team September 7, 2025 04:57
The PATH is already updated via GITHUB_PATH in the install step,
so we don't need to export it in every subsequent step.
@ashwin-ant ashwin-ant merged commit 73f8612 into main Sep 7, 2025
10 checks passed
@ashwin-ant ashwin-ant deleted the ashwin/ci branch September 7, 2025 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants