feat: add Claude API tutorial, robots.txt, and sitemap for SEO #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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')" |