This repository was archived by the owner on Apr 19, 2026. It is now read-only.
feat: add clawta-dispatch workflow for Octi agent dispatch #9
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: Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| go-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.22" | |
| - run: go test ./... -v -race | |
| python-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.22" | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Build shared library | |
| run: cd cabi && CGO_ENABLED=1 go build -buildmode=c-shared -o libllmint.so . | |
| - name: Install Python deps | |
| run: cd python && pip install -e ".[dev]" | |
| - name: Run Python tests | |
| run: cd python && pytest tests/ -v |