-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #571 from TEN-framework/feature/tests
feat: upgrade ten runtime to 0.8, add testing support
- Loading branch information
Showing
99 changed files
with
393 additions
and
1,649 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
branches: [ "main" ] | ||
paths-ignore: | ||
- ".devcontainer/**" | ||
- ".github/**" | ||
- "!.github/workflows/build-docker.yaml" | ||
- ".vscode/**" | ||
- "docs/**" | ||
- "**.md" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
ci: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/ten-framework/ten_agent_build:0.4.10 | ||
strategy: | ||
matrix: | ||
agent: [agents/examples/default, agents/examples/demo] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: "0" | ||
submodules: "true" | ||
|
||
- name: Use agent | ||
run: | | ||
git config --global --add safe.directory $(pwd) | ||
task use AGENT=${{ matrix.agent }} | ||
- name: Run tests | ||
run: | | ||
task test -- -s -v | ||
# - name: Run lint | ||
# run: | | ||
# task lint |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
{ | ||
"type": "system", | ||
"name": "ten_runtime_python", | ||
"version": "0.6" | ||
"version": "0.8" | ||
} | ||
], | ||
"api": { | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
{ | ||
"type": "system", | ||
"name": "ten_runtime_go", | ||
"version": "0.6" | ||
"version": "0.8" | ||
} | ||
], | ||
"api": { | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
{ | ||
"type": "system", | ||
"name": "ten_runtime_python", | ||
"version": "0.6" | ||
"version": "0.8" | ||
} | ||
], | ||
"api": { | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
{ | ||
"type": "system", | ||
"name": "ten_runtime_python", | ||
"version": "0.6" | ||
"version": "0.8" | ||
} | ||
], | ||
"api": { | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
{ | ||
"type": "system", | ||
"name": "ten_runtime_python", | ||
"version": "0.6" | ||
"version": "0.8" | ||
} | ||
], | ||
"package": { | ||
|
20 changes: 0 additions & 20 deletions
20
agents/ten_packages/extension/bingsearch_tool_python/BUILD.gn
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
{ | ||
"type": "system", | ||
"name": "ten_runtime_python", | ||
"version": "0.6" | ||
"version": "0.8" | ||
} | ||
], | ||
"package": { | ||
|
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
{ | ||
"type": "system", | ||
"name": "ten_runtime_python", | ||
"version": "0.6" | ||
"version": "0.8" | ||
} | ||
], | ||
"package": { | ||
|
Oops, something went wrong.