Provide an option to return base64-encoded images in CI log
還沒有人認領這個 Issue。
評估
研究方向
先閱讀 pywwt/tests/test_qt_widget.py 第 67 行附近所引用的範例,接著檢查 pytest-mpl 現有的命令列和影像比較進入點。實作一個 opt-in 環境變數或 --mpl-base64 模式,輸出包含預期影像和實際影像的腳本以供 CI 記錄使用,並驗證產生的腳本能在本機重新建立這兩張影像。
由索引模型根據 Issue 內容生成。
描述
Some CI services don't have good support for artifacts. In those cases we could print out to the log the base64 expected and actual image, inside a script to generate these files. Then one can simply copy/paste the script, run it locally, and get the images. See https://github.com/WorldWideTelescope/pywwt/blob/master/pywwt/tests/test_qt_widget.py#L67 for an example of this.
This could be triggered e.g. by an environment variable or a command-line flag (--mpl-base64).
Opened this following mention of this problem in https://github.com/matplotlib/pytest-mpl/issues/81
- 主要語言
- Python
- 星號
- 274
- 分支
- 53
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
matplotlib/pytest-mpl 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 48/100
matplotlib/pytest-mpl#264 · 2 則留言 · 1 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 35/100
matplotlib/pytest-mpl#263 · 3 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 55/100
matplotlib/pytest-mpl#262 · 6 則留言 ·
-
難度 4/5 3-5 天 新手友好度 45/100
matplotlib/pytest-mpl#261 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
matplotlib/pytest-mpl#257 · 2 則留言 ·
查看 matplotlib/pytest-mpl 的全部 Issue
相似的 Issue
-
[Doc]: Feedback for `/zh-cn/v0.30.0/tutorials/models/Qwen3.6-35B-A3B.html`A3社区配置和基线不一致,社区配置也达不到基线未關閉documentation
難度 2/5 1-3 小時 新手友好度 62/100
vllm-project/vllm-ascend#24429 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 67/100
nq-rdl/agent-extensions#623 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
vortex-data/vortex#12633 ·
維護者通常 1 天內回覆
-
needs-triage
難度 2/5 1-3 小時 新手友好度 78/100
gke-labs/kube-agents#7955 ·
維護者通常 1 天內回覆