chore: merge ten_framework to ten_agent #9
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: Agents CI | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| paths-ignore: | |
| - ".devcontainer/**" | |
| - ".github/**" | |
| - "!.github/workflows/agents.yaml" | |
| - ".vscode/**" | |
| - "**.md" | |
| - "agent_solutions/docs/**" | |
| - "agent_solutions/esp32-client/**" | |
| - "agent_solutions/Dockerfile" | |
| - "agent_solutions/docker-compose.yml" | |
| - "agent_solutions/demo/**" | |
| - "agent_solutions/playground/**" | |
| workflow_dispatch: | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/ten-framework/ten_agent_build:0.6.1 | |
| strategy: | |
| matrix: | |
| agent: [agent_solutions/agents/examples/default, agent_solutions/agents/examples/demo, agent_solutions/agents/examples/experimental] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: "0" | |
| submodules: "true" | |
| - name: Use agent | |
| run: | | |
| git config --global --add safe.directory $(pwd) | |
| task agent-use AGENT=${{ matrix.agent }} | |
| - name: Run format check | |
| run: | | |
| task agent-check | |
| - name: Run lint | |
| run: | | |
| task agent-lint | |
| - name: Run tests | |
| run: | | |
| task agent-test -- -s -v |