Skip to content

feat: add Claude API tutorial, robots.txt, and sitemap for SEO #4

feat: add Claude API tutorial, robots.txt, and sitemap for SEO

feat: add Claude API tutorial, robots.txt, and sitemap for SEO #4

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: pip install -e ".[dev]" 2>/dev/null || pip install -e .
- name: Verify import
run: python -c "from agent_patterns import Agent, tool; print(f'✅ agent-patterns v{__import__(\"agent_patterns\").__version__}')"
- name: Verify CLI
run: agent-patterns version
- name: Verify doctor
run: agent-patterns doctor || true
- name: Run examples (syntax check)
run: |
python -c "import ast; ast.parse(open('examples/minimal_agent.py').read()); print('✅ minimal_agent.py')"
python -c "import ast; ast.parse(open('examples/self_evolving_loop.py').read()); print('✅ self_evolving_loop.py')"