Anthropic CI Integration Overview Testing Claude integrations in CI requires handling API keys securely, mocking for unit tests, and making real calls only in integration tests. GitHub Actions Setup Mock Strategy for Unit Tests Integration Test (Real API) Cost Control in CI | Strategy | How | |----------|-----| | Use Haiku only | Cheapest model, fast | | Limit max tokens | for validation tests | | Skip on PRs from forks | Don't expose API key to untrusted code | | Run integration tests only on main | | | Budget cap | Set spending limits in Anthropic console | Output - GitHub Actions workflow…