Skip to content

Commit 2e9fda4

Browse files
committed
ci: install Python SDK dependencies
1 parent 14379ed commit 2e9fda4

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ jobs:
2323
with:
2424
python-version: ${{ matrix.python }}
2525
cache: pip
26-
- name: 安装构建工具
27-
run: python -m pip install --upgrade build
26+
- name: 安装项目与构建工具
27+
run: |
28+
python -m pip install --upgrade pip
29+
python -m pip install '.[dev]'
2830
- name: 执行测试
2931
run: PYTHONPATH=src python -m unittest discover -s tests -v
3032
- name: 检查字节码编译

‎context-kg/tasks/todo.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,5 @@
7979
- 13 个 unittest 全部通过,隔离构建成功生成 sdist 与 wheel,`git diff --check`
8080
通过。
8181
- PyPI 当前尚无 `pole-client-python`,可用 Pending Trusted Publisher 完成首次发布。
82+
- 修复原 CI 只安装 `build`、未安装 `grpcio` 等项目依赖导致的五版本矩阵失败;
83+
CI 与 release build 统一安装 `.[dev]`。

0 commit comments

Comments
 (0)