~CI config

This commit is contained in:
2026-06-21 18:20:48 +08:00
parent be03662e4c
commit cae51856d2
3 changed files with 4 additions and 10 deletions
+2 -8
View File
@@ -69,7 +69,7 @@ jobs:
run: uv sync --extra dev --frozen
- name: Mypy 严格类型检查
run: uv run mypy
run: uv run mypy .
# ─────────────────────────────────────────────────────────────
# test:多平台 × 多 Python 版本矩阵测试 + 覆盖率
@@ -101,15 +101,9 @@ jobs:
- name: 安装依赖
run: uv sync --extra dev --frozen
- name: 运行测试(含覆盖率,强制 100%
- name: 运行测试(含覆盖率, 95%
run: uv run pytest -v --cov=pyflowx --cov-report=xml --cov-report=term-missing --cov-fail-under=95
- name: 运行示例冒烟测试
run: |
uv run python examples/etl_pipeline.py
uv run python examples/parallel_run.py
uv run python examples/async_aggregation.py
- name: 上传覆盖率
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13'
uses: actions/upload-artifact@v4
+1 -1
View File
@@ -25,7 +25,7 @@ PyFlowX 把"任务依赖"这件事做到极致简单:**参数名就是依赖
- **CLI 运行器** —— `CliRunner` 把多个图映射为命令行子命令,替代 Makefile
- **可观测** —— `on_event` 回调、`dry_run` 预览、`verbose` 生命周期日志、Mermaid 可视化
- **零运行时依赖** —— 仅依赖标准库(3.8 需 `graphlib_backport`
- **100% 测试覆盖** —— 分支覆盖率达 100%
- **95% 测试覆盖** —— 分支覆盖率>= 95%
## 安装
Generated
+1 -1
View File
@@ -2221,7 +2221,7 @@ wheels = [
[[package]]
name = "pyflowx"
version = "0.1.3"
version = "0.1.4"
source = { editable = "." }
dependencies = [
{ name = "graphlib-backport", marker = "python_full_version < '3.9'" },