Skip to content

CI 覆盖率报告(Summary 表格 + artifact) - #31

Merged
CSJ608 merged 2 commits into
mainfrom
ci-coverage
Aug 27, 2026
Merged

CSJ608 merged 2 commits into
mainfrom
ci-coverage

Conversation

@CSJ608

@CSJ608 CSJ608 commented Aug 27, 2026

Copy link
Copy Markdown
Owner

内容

  • Ubuntu 矩阵(net8/net10)跑测试时收集 XPlat Code Coverage(按 TFM 分目录);Windows net48 保持普通测试
  • job Summary 输出覆盖率表格(总体 Line/Branch + 覆盖行数 + 按程序集明细),自包含、不依赖 Codecov 等外部服务
  • 原始 cobertura XML 以 artifact 保留 14 天
  • README 双语补本地复现命令

当前基线(本地实测,CI 首跑后可在 Summary 查看)

目标 Line Branch
net8.0 / net10.0 85.2% 81.3%

按程序集:StreamFrame 85.8%/81.5%,StreamFrame.Protocols.Xml 75.0%/75.0%(示例驱动的未覆盖分支主要是 DTD 拒绝路径)。

@CSJ608
CSJ608 merged commit b2985f1 into main Aug 27, 2026
4 checks passed
@CSJ608
CSJ608 deleted the ci-coverage branch August 27, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant