feat(harness): add WebBrain extension agent #161
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: static-check | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - "**.py" | |
| - ".github/workflows/static-check.yml" | |
| - ".env" | |
| - "models/models.example.yaml" | |
| - "models/model.schema.json" | |
| - "pyproject.toml" | |
| - "test-cases/**" | |
| - "uv.lock" | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - "**.py" | |
| - ".github/workflows/static-check.yml" | |
| - ".env" | |
| - "models/models.example.yaml" | |
| - "models/model.schema.json" | |
| - "pyproject.toml" | |
| - "test-cases/**" | |
| - "uv.lock" | |
| workflow_dispatch: | |
| jobs: | |
| static-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v8.1.0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Ruff check | |
| run: uv run --frozen ruff check . | |
| - name: Ruff format check | |
| run: uv run --frozen ruff format --check . | |
| - name: Pyright check | |
| run: uv run --frozen pyright src/clawbench tests | |
| - name: Build package | |
| env: | |
| UV_FROZEN: "true" | |
| run: uv build | |
| - name: Check distribution metadata | |
| env: | |
| UV_FROZEN: "true" | |
| run: uvx twine check dist/* | |
| - name: Verify console scripts | |
| run: | | |
| uv run --frozen clawbench --help | |
| uv run --frozen clawbench-run --help | |
| uv run --frozen clawbench-batch --help |