claude-code-sdk-python/scripts
Ashwin Bhat d8c0af94ee
Add Docker-based test infrastructure for e2e tests
Add Docker test infrastructure to catch container-specific issues like #406
where filesystem-based agents may silently fail in Docker environments.

Changes:
- Add Dockerfile.test: Python 3.12 image with Claude Code CLI installed
- Add scripts/test-docker.sh: Local script to run tests in Docker
- Add test-e2e-docker job to CI workflow
- Add .dockerignore to speed up Docker builds

Usage:
  ./scripts/test-docker.sh unit    # Run unit tests in Docker
  ./scripts/test-docker.sh e2e     # Run e2e tests (needs ANTHROPIC_API_KEY)
  ./scripts/test-docker.sh all     # Run all tests

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-16 10:20:12 -08:00
..
build_wheel.py fix: remove emojis from build_wheel.py for Windows compatibility (#342) 2025-11-18 17:59:48 -08:00
download_cli.py fix: use PowerShell installer for Windows CLI download (#343) 2025-11-18 20:47:26 -08:00
initial-setup.sh feat: add pre-push hook for lint checks (#254) 2025-10-14 09:26:49 -07:00
pre-push feat: add pre-push hook for lint checks (#254) 2025-10-14 09:26:49 -07:00
test-docker.sh Add Docker-based test infrastructure for e2e tests 2025-12-16 10:20:12 -08:00
update_cli_version.py feat: bundle Claude Code CLI in pip package (#283) 2025-11-18 17:21:15 -08:00
update_version.py feat: bundle Claude Code CLI in pip package (#283) 2025-11-18 17:21:15 -08:00