docs: Add README.md and changelog.txt #1
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: Primitives | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| primitives: | |
| name: ${{ matrix.primitive }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| primitive: [sampling, tools, resources, prompts] | |
| python-version: ["3.11"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| run: | | |
| pip install uv | |
| - name: Install dependencies | |
| run: | | |
| # Install project with dev and optional extras similar to unit tests environment | |
| uv pip install --system .[dev,anthropic,openai,search,e2b] | |
| - name: Lint with ruff | |
| run: | | |
| ruff check . | |
| - name: Run integration tests for ${{ matrix.primitive }} primitive | |
| run: | | |
| pytest tests/integration/primitives/test_${{ matrix.primitive }}.py |