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 於 1718 天前認領,目前沒有進行中的 PR。 未關閉
PDLPorters/devops#38 · 1 個 reaction · 已指派 1 人 ·
-
難度 4/5 3-5 天 新手友好度 20/100
PDLPorters/devops#34 · 1 則留言 ·
-
Create a Homebrew tap for PDL可能重新可做 @zmughal 於 1816 天前認領,目前沒有進行中的 PR。 未關閉enhancement os:darwin
PDLPorters/devops#21 · 已指派 1 人 ·
查看 PDLPorters/devops 的全部 Issue
相似的 Issue
-
e2e-failure ready-to-code
難度 2/5 1-3 小時 新手友好度 72/100
redhat-developer/rhdh-plugin-export-overlays#4391 · 1 則留言 ·
維護者通常 1 天內回覆
-
documentation good first issue
難度 2/5 1-3 小時 新手友好度 72/100
graygarbage/HermesKey#20 ·
-
review-bot
難度 2/5 1-3 小時 新手友好度 72/100
midagedev/bloomery#151 · 1 則留言 ·
維護者通常 1 天內回覆
-
needs-triage
難度 1/5 1 小時以內 新手友好度 85/100
mattpocock/skills#1269 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 2 天內回覆