Skip to content

Commit 07e97b8

Browse files
feat: add test tasks
1 parent 5f6657d commit 07e97b8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

Taskfile.yml

+29
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,32 @@ tasks:
7777
internal: true
7878
cmds:
7979
- rm -rf bin
80+
81+
test:
82+
desc: run tests
83+
cmds:
84+
- task: test-agent-extensions
85+
- task: test-agent
86+
- task: test-server
87+
88+
test-agent:
89+
desc: test agent
90+
dir: ./agents
91+
internal: true
92+
cmds:
93+
- echo TODO test agent
94+
95+
test-agent-extensions:
96+
desc: run standalone testing of extensions
97+
dir: ./agents/ten_packages/extension
98+
internal: true
99+
cmds:
100+
- find . -type d -name tests -exec echo "TODO test {}" \;
101+
# - cd ../system/ten_ai_base && pytest tests
102+
103+
test-server:
104+
desc: test server
105+
dir: ./server
106+
internal: true
107+
cmds:
108+
- go test -v ./...

0 commit comments

Comments
 (0)