~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