coveralls support
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- python
- 領域
- ci-cd, testing-qa
調査の方向性
まず tox.ini の coveralls コマンドとハイフン付きのエントリを確認し、次に Taskcluster のログと Balrog の .taskcluster.yml の例を調べます。各スクリプトの README を確認して、古いバッジを特定します。coverage の送信が機能し、リポジトリ全体でのレポートとスクリプト単位でのレポートのどちらを採用するかについてプロジェクトとして明確な決定がなされていれば完了です。
索引モデルが 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時間
- マージ済み PR(30日)
- 14
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mozilla-releng/scriptworker-scripts のほかの issue
-
Dependency Dashboard オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
treescript
難易度 5/5 1週間以上 初心者へのやさしさ 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
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·