ci: codecov の GPG 署名検証失敗を PyPI 版 CLI で回避する#1408
Conversation
cli.codecov.io のバイナリで GPG 公開鍵を取得できず署名検証が "No public key" で失敗し、coverage アップロードが落ちる問題に対応。 codecov-action に use_pypi: true を追加し PyPI 版 CLI を使う。 本家 ec-cube の PR #6830 と同じ対応。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughCodecov カバレッジアップロードアクションの設定に ChangesCI Coverage アクション設定
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 分 Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1408 +/- ##
=======================================
Coverage 56.20% 56.20%
=======================================
Files 87 87
Lines 11090 11090
=======================================
Hits 6233 6233
Misses 4857 4857
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
概要(Overview・Refs Issue)
cli.codecov.io のバイナリで GPG 公開鍵を取得できず署名検証が
"No public key"で失敗し、coverage アップロードが落ちる問題に対応します。.github/workflows/coverage.ymlの codecov-action にuse_pypi: trueを追加し、PyPI 版 CLI を使うことで署名検証経路を回避します。方針(Policy)
本家 ec-cube の PR EC-CUBE/ec-cube#6830 と同じ問題が ec-cube2 でも発生しているため、同じ対応を適用しました。
実装に関する補足(Appendix)
ec-cube2 で codecov-action を使用しているのは
coverage.ymlのUpload coverageステップ 1 箇所のみです(rg "codecov" .github/で確認済み)。テスト(Test)
🤖 Generated with Claude Code
Summary by CodeRabbit