coveralls support
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- ci-cd, testing-qa
调研方向
先从 tox.ini 中的 coveralls 命令及其带连字符的条目开始,然后检查 Taskcluster 日志和 Balrog 的 .taskcluster.yml 示例。查看每个脚本的 README,检查其中是否有过时的徽章。完成的标准是 coverage 提交能够正常工作,并且项目明确决定采用整个 repository 统一报告还是按脚本分别报告。
由索引模型根据 Issue 内容生成。
描述
Support for coveralls needs attention.
We generate coverage data for each script via tox and then call coveralls to submit coverage data to coverage.io, but that's all legacy code that doesn't quite work currently. It appears that this was originally set up when each script was in a separate github repo, and using TravisCI. Each script's README points to coveralls.io badges for the old repos (like mozilla-releng/balrogscript, rather than mozilla-releng/scriptworker-scripts/balrogscript); of course those are all dormant currently.
As far as I can tell, coveralls.io assumes a one-to-one correspondence between a coverage project and a github repo: We can monitor coverage for mozilla-releng/scriptworker-scripts, but not mozilla-releng/scriptworker-scripts/balrogscript on its own.
Currently each scriptworker-scripts 'coveralls' command fails with the error message:
coveralls.exception.CoverallsException: Not on TravisCI. You have to provide either repo_token in .coveralls.yml or set the COVERALLS_REPO_TOKEN env var.
This does not cause a job failure (because of the leading hyphens in the main tox.ini), but you can see the tox taskcluster logs for details. The repo token can be found on coveralls.io. The Balrog project provides an example of specifying COVERALLS_REPO_TOKEN in a taskcluster project:
https://github.com/mozilla-releng/balrog/blob/main/.taskcluster.yml
Open questions:
-
Can we continue to call coveralls for each script, or do we need to call coveralls just once for scriptworker-scripts after each script has updated its coverage data?
-
Is there a way to track coverage per script, or do we just get one badge and report per repo? Can we live with that?
- 主要语言
- Python
- 星标
- 16
- 派生
- 38
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 14
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mozilla-releng/scriptworker-scripts 的其他 Issue
-
难度 5/5 一周以上 新手友好度 15/100
-
难度 5/5 一周以上 新手友好度 25/100
-
treescript
难度 5/5 一周以上 新手友好度 35/100
mozilla-releng/scriptworker-scripts#1055 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 32/100
mozilla-releng/scriptworker-scripts#994 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
mozilla-releng/scriptworker-scripts#980 · 1 条评论 ·
查看 mozilla-releng/scriptworker-scripts 的全部 Issue
相似的 Issue
-
bug priority:low
难度 2/5 1-3 小时 新手友好度 76/100
CyberAgent/psd2svg#436 ·
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
难度 2/5 1-3 小时 新手友好度 86/100
NousResearch/hermes-agent#122386 · 1 条评论 ·
-
ai-generated
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 78/100
vllm-project/production-stack#1105 ·
-
难度 2/5 1-3 小时 新手友好度 88/100