The profiler job's make coverage repeats the slow tests the benchmark-harness job runs

オープン 初心者向け
#1,300 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, python
領域
ci-cd, testing

調査の方向性

.github/workflows/audits.ymlを読み、profilerジョブとbenchmark-harnessジョブを調べてから、それらが使用するMakefileのターゲットと低速テストのマーカーを確認してください。各低速テストファイルを実行するジョブに対応付け、両方のジョブで実行される低速テストがないことを確認してください。ワークフローがすべての低速テストを必須ジョブのうちちょうど1つで実行し、各低速テストファイルをどのジョブが実行するかをテストで列挙したら完了です。

索引モデルが issue の本文から書いたものです。

説明

ci enhancement testing

Where: .github/workflows/audits.yml (profiler and benchmark-harness jobs).

Current gap: make coverage runs the whole suite including the slow benchmark tests (5 minutes of the 316 s parallel run), and the benchmark-harness job runs tests/test_metrics.py, test_manifest.py, test_strategies.py and test_benchmark.py again.

Suggested approach: Run the slow tests once: either give the benchmark-harness job the slow marker (and collect their coverage there) or have the profiler job use make coverage-fast, keeping every slow test in exactly one required job.

Done when: no slow test runs in both jobs and a test lists which job runs each slow test file.

主要言語
HTML
スター
47
フォーク
45
平均マージ
2時間 50分
マージ済み PR(30日)
85

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

yakew7/Fair-Code のほかの issue

yakew7/Fair-Code の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。