mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-28 19:50:34 +00:00
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:
parent
f3648d6057
commit
9c396ee015
31 changed files with 287 additions and 253 deletions
30
.github/workflows/pre-commit.yml
vendored
30
.github/workflows/pre-commit.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue