Skip to content

ci: Codecov へのカバレッジ送信失敗でテストジョブを落とさない - #76

Merged
champierre merged 1 commit into
mainfrom
fix/ci-codecov-continue-on-error
Oct 5, 2026
Merged

champierre merged 1 commit into
mainfrom
fix/ci-codecov-continue-on-error

Conversation

@champierre

Copy link
Copy Markdown
Contributor

概要

codecov/codecov-action@v3 が Codecov への接続時に TLS ハンドシェイクエラー(SSL alert number 40)でクラッシュし、テストがすべて通っていても Unit Tests ジョブが失敗扱いになっていました(#75 で発生。再実行しても同じ結果)。

「Upload coverage to Codecov」ステップに continue-on-error: true を追加し、カバレッジ送信の成否がテスト結果に影響しないようにします。

補足

  • fail_ci_if_error: false は設定済みですが、これはアップロード失敗時の設定で、アクション自体のクラッシュには効きません
  • カバレッジ送信そのものは直していません(失敗したままになります)。送信を復旧する場合は codecov-action@v5 への更新と CODECOV_TOKEN の登録が別途必要です
  • アプリケーションコードの変更はありません

🤖 Generated with Claude Code

codecov/codecov-action@v3 が Codecov への接続時に TLS ハンドシェイクエラー
(SSL alert number 40)でクラッシュし、テストがすべて通っていても
Unit Tests ジョブが失敗扱いになっていた(PR #75 で発生、再実行しても同じ)。

fail_ci_if_error: false はアップロード失敗には効くが、アクション自体の
クラッシュには効かないため、ステップに continue-on-error: true を追加する。

カバレッジ送信そのものは直していない(失敗したままになる)。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@champierre
champierre merged commit 5b82874 into main Oct 5, 2026
2 checks passed
@champierre
champierre deleted the fix/ci-codecov-continue-on-error branch October 5, 2026 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant