tests: fix and refactor tests (#1262)

Co-authored-by: bytecii <bytecii@users.noreply.github.com>
Co-authored-by: Wendong-Fan <133094783+Wendong-Fan@users.noreply.github.com>
This commit is contained in:
bytecii 2026-02-13 23:16:14 -08:00 committed by GitHub
parent f3648d6057
commit 9c396ee015
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 287 additions and 253 deletions

View file

@ -30,34 +30,6 @@ jobs:
run: uv sync --group dev
- name: Run pre-commit
run: |
uv run pre-commit run --files \
$(find \
app/agent \
app/controller \
app/exception \
app/middleware \
app/model \
app/service \
benchmark \
tests/app \
-type f ! -path '*__pycache__*') \
app/__init__.py \
app/router.py \
app/component/__init__.py \
app/component/pydantic/__init__.py \
app/utils/listen/__init__.py \
app/utils/server/__init__.py \
app/utils/toolkit/__init__.py \
app/utils/toolkit/google_calendar_toolkit.py \
app/utils/toolkit/google_gmail_mcp_toolkit.py \
app/utils/toolkit/linkedin_toolkit.py \
app/utils/toolkit/reddit_toolkit.py \
app/utils/toolkit/slack_toolkit.py \
app/utils/toolkit/twitter_toolkit.py \
app/utils/toolkit/whatsapp_toolkit.py \
app/utils/workforce.py \
app/utils/single_agent_worker.py \
tests/conftest.py
run: uv run pre-commit run --files $(git ls-files .)
env:
SKIP: no-commit-to-branch