Tell Devel::Cover to ignore files outside current build directory
@zmughal 已经在做这个了。
开始于 2021年12月10日。
评估
这个 Issue 还没有评估数据。
描述
This issue comes up in the coverage results of Test-PDL:
-pdl-commits:#pdl- [Test-PDL] [build/push]: ∀S ✓ a8ba9e2 | Zaki Mughal [sivoais] | Use shared GitHub Actions from PDLPorters (#6)
https://github.com/ebaudrez/Test-PDL/actions/runs/1557475038
[@sivoais] one odd thing with the coverage above: it thinks that a file from the PDL distribution is part of the coverage
[@sivoais] a file that is located in ~/.cpanm ??
[@sivoais] i saw this locally as well, but didn't bother tracking it down in Devel::Cover
[@sivoais] so even though Test-PDL's coverage is really 100%, it comes out at 76% on Coveralls
Coveralls link is: https://coveralls.io/jobs/91303010.
This is possibly just a matter of adding a -ignore_re option to the cover
command, but will need to be tested.
$ $TEST_RUNNER_PREFIX $MYPERL -S cover -test -relative_only -gcov_chdir -report Coveralls
----------------------------------- ------ ------ ------ ------ ------ ------
File stmt bran cond sub time total
----------------------------------- ------ ------ ------ ------ ------ ------
...PDL-2.063/Basic/Core/Types.pm.PL 34.1 19.2 20.0 33.3 43.0 31.0
blib/lib/Test/Deep/PDL.pm 100.0 75.0 n/a 100.0 5.3 97.7
blib/lib/Test/PDL.pm 100.0 100.0 100.0 100.0 51.6 100.0
Total 73.3 69.4 81.8 58.2 100.0 70.3
----------------------------------- ------ ------ ------ ------ ------ ------
- 主要语言
- Shell
- 星标
- 3
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PDLPorters/devops 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 42/100
PDLPorters/devops#41 · 6 条评论 ·
-
难度 5/5 一周以上 新手友好度 20/100
PDLPorters/devops#40 · 2 条评论 ·
-
Improve ccache for XS code可能重新可做 @zmughal 于 1720 天前认领,目前没有进行中的 PR。 未关闭
PDLPorters/devops#38 · 1 个 reaction · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 20/100
PDLPorters/devops#34 · 1 条评论 ·
-
Create a Homebrew tap for PDL可能重新可做 @zmughal 于 1817 天前认领,目前没有进行中的 PR。 未关闭enhancement os:darwin
PDLPorters/devops#21 · 已指派 1 人 ·
查看 PDLPorters/devops 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
beehive-lab/TornadoVM#1248 ·
维护者通常 1 天内回复
-
Dev
难度 2/5 1-3 小时 新手友好度 62/100
ankidroid/Anki-Android#22555 ·
维护者通常 1 天内回复
-
Add .gitignore可能已有人在做 @ajeanmahoney 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 1/5 1 小时以内 新手友好度 75/100
tesseract-ocr/tesseract#4653 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 74/100
维护者通常 1 天内回复