Use Docker to ensure local tests and CI pipeline tests agree?
オープン
まだ誰も着手していません。
project: infrastructure
- 主要言語
- Python
- スター
- 5.1k
- フォーク
- 2.1k
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 82
説明
Refs:
- https://github.com/papadeltasierra/typeshed/actions/runs/10358301701
- https://github.com/papadeltasierra/typeshed/actions/runs/10358301703
Both these CI pipelines show errors despite me running tests/runtests.py locally beforehand and seeing no errors.
I assume this is the result of some sort of versioning issue between the testing tools being used. Would it be possible to provide a Docker container that has the tooling matching the CI pipeline so that running tests locally matches test results in the CI pipeline?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
tests/runtests.py とリンクされた 2 つの CI パイプライン実行から始め、ローカルのテストツールとバージョンを CI で使用されているものと比較します。Docker ベースの環境で CI の結果をローカルに再現できるかを確認します。完了の条件は、文書化されたローカルコマンドと CI パイプラインが一致するツールを使用し、一貫したテスト結果を報告することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, python
- 領域
- ci-cd, testing-qa, tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100