Add AgentBox provider example #47
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: verify | |
| # Every example must run against the live Tenki API. A red build blocks the merge. | |
| # Requires repo secret TENKI_API_KEY. | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" # Python examples (crewai) need 3.10+ | |
| - name: Install + verify each example against Tenki | |
| env: | |
| TENKI_API_KEY: ${{ secrets.TENKI_API_KEY }} | |
| run: | | |
| set -e | |
| for d in examples/*/; do | |
| if [ -f "${d}verify.mjs" ]; then | |
| if [ "$d" = "examples/composio-tenki/" ]; then | |
| # Needs a Composio account/key we don't have; verify locally instead. | |
| echo "== ${d} == skipped (no COMPOSIO_API_KEY)" | |
| continue | |
| fi | |
| echo "== ${d} ==" | |
| ( cd "$d" | |
| [ -f package.json ] && npm install --no-audit --no-fund | |
| [ -f requirements.txt ] && python -m pip install -r requirements.txt | |
| node verify.mjs ) | |
| fi | |
| done |