Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,21 @@ jobs:
run: |
make setup PYTHON_VERSION=${{ matrix.python-version }}

- name: Run minimal installation test
run: |
# 创建一个临时目录用于测试
mkdir -p /tmp/minimal_test
cd /tmp/minimal_test

# 使用 uv 创建一个新环境并只安装项目的默认依赖
uv venv -p 3.10

# 安装项目但不包含任何可选依赖
uv pip install "$GITHUB_WORKSPACE/"

# 测试导入和版本打印
uv run python -c "import agentrun; print(f'Version: {agentrun.__version__}')"

- name: Run type check (mypy)
run: |
make mypy-check
Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dependencies = [
"pydash>=8.0.5",
"alibabacloud-agentrun20250910>=5.0.1",
"alibabacloud_tea_openapi>=0.4.2",
"alibabacloud_bailian20231229>=2.6.2",
]

[project.optional-dependencies]
Expand Down Expand Up @@ -53,10 +54,6 @@ mcp = [
"mcp>=1.21.2; python_version >= '3.10'",
]

knowledgebase = [
"alibabacloud_bailian20231229>=2.6.2"
]

[dependency-groups]
dev = [
"coverage>=7.10.7",
Expand Down