Docs: add framework comparison guide #406
Workflow file for this run
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: Code Quality & Tests | |
| on: | |
| push: | |
| branches: [ main, v2.0 ] | |
| pull_request: | |
| branches: [ main, v2.0 ] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| version: "latest" | |
| - name: Cache uv | |
| uses: actions/cache@v4 | |
| id: cache | |
| with: | |
| path: ~/.cache/uv | |
| key: uv-${{ runner.os }}-python-${{ runner.python-version }}-${{ hashFiles('**/uv.lock') }} | |
| restore-keys: | | |
| uv-${{ runner.os }}-python-${{ runner.python-version }}- | |
| - name: Install Dependencies | |
| run: | | |
| uv sync | |
| uv run pip list # Verify installation | |
| - name: Verify Black Installation | |
| run: | | |
| uv run which black || echo "Black not found" | |
| uv run black --version | |
| - name: Run Black Check | |
| run: | | |
| uv run black --check atomic-agents atomic-assembler atomic-examples atomic-forge | |
| if: success() | |
| - name: Run Flake8 | |
| run: uv run flake8 --extend-exclude=.venv atomic-agents atomic-assembler atomic-examples atomic-forge | |
| if: success() | |
| - name: Run Tests | |
| run: uv run pytest --cov=atomic_agents atomic-agents | |
| if: success() |