> ## Documentation Index
> Fetch the complete documentation index at: https://support.i.moneyforward.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Codecov

> マネーフォワードAdminaからCodecovへの、管理者のログインから、連携方法まで一連の手順を解説します。

<Info>
  現在、**Github連携のみサポート**しています。
</Info>

## 事前準備

### Codecovへのログイン方法

[Codecov](https://about.codecov.io/)のトップページ右上のLoginの所にカーソルオーバーをし、**GitHub**をクリックします。

<Info>
  連携にはGoogleやSSOなど外部認証アカウントはご利用いただけません。詳細は\[制限事項]Google 認証やSSOなど外部認証アカウントによる連携失敗]\(/it-management/faq/7gbneu0vz5-auth-error)をご覧ください。
</Info>

<img src="https://mintcdn.com/moneyforwardi/MhdnE4QAMT1AH6RE/images/integrations/39wtowrizi/1656395850139-image.png?fit=max&auto=format&n=MhdnE4QAMT1AH6RE&q=85&s=3df3d490c36cb4feb07de2ca1581c9ae" alt="Codecovのトップページ" width="626" height="512" data-path="images/integrations/39wtowrizi/1656395850139-image.png" />

つぎに、Login with Githubをクリックします。

<img src="https://mintcdn.com/moneyforwardi/MhdnE4QAMT1AH6RE/images/integrations/39wtowrizi/1656395937847-image.png?fit=max&auto=format&n=MhdnE4QAMT1AH6RE&q=85&s=4f37dc3611f0f7fee1f0075b0401721a" alt="Login with Githubボタン" width="654" height="501" data-path="images/integrations/39wtowrizi/1656395937847-image.png" />

GitHubのログイン用ユーザー名またはメールアドレス、パスワードを入力し、ログインします。

<img src="https://mintcdn.com/moneyforwardi/MhdnE4QAMT1AH6RE/images/integrations/39wtowrizi/1656396280213-image.png?fit=max&auto=format&n=MhdnE4QAMT1AH6RE&q=85&s=4529c673353dc3e43a9b652ba0d9403e" alt="GitHubログイン画面" width="500" height="814" data-path="images/integrations/39wtowrizi/1656396280213-image.png" />

### ワークスペースキーの取得方法

Codecovにログイン後、URL一部が**ワークスペースキー**となるので保存します。

app.codecov.io/gh/`{ワークスペースキー}`

<img src="https://mintcdn.com/moneyforwardi/MhdnE4QAMT1AH6RE/images/integrations/39wtowrizi/2022-03-07-183316.png?fit=max&auto=format&n=MhdnE4QAMT1AH6RE&q=85&s=70d90b88f0e473e9209a05f9ab286b1b" alt="ワークスペースキーの取得" width="1447" height="422" data-path="images/integrations/39wtowrizi/2022-03-07-183316.png" />

## インテグレーションのセットアップ

インテグレーション画面にて、**Codecov**を検索、選択します。

<img src="https://mintcdn.com/moneyforwardi/MhdnE4QAMT1AH6RE/images/integrations/39wtowrizi/2022-03-07-180645.png?fit=max&auto=format&n=MhdnE4QAMT1AH6RE&q=85&s=8453228008ef4695b8e5bd1d489d34eb" alt="インテグレーション画面でCodecovを検索" width="930" height="503" data-path="images/integrations/39wtowrizi/2022-03-07-180645.png" />

前の手順で取得した**ワークスペースキー**、**Githubのユーザー名** と **パスワード**を入力し、**連携する**をクリックします。

<img src="https://mintcdn.com/moneyforwardi/MhdnE4QAMT1AH6RE/images/integrations/39wtowrizi/8.png?fit=max&auto=format&n=MhdnE4QAMT1AH6RE&q=85&s=598d1295221f2c5990b947f9ce31bce4" alt="Codecov連携設定画面" width="472" height="702" data-path="images/integrations/39wtowrizi/8.png" />

Codecovとの連携に成功すると、アカウント一覧に登録済みのユーザー情報が表示されます。

正常に完了しない場合は、インテグレーション画面のステータスタブから**編集**し、再度連携をお試しください。

解決しない場合はチャットにてお問い合わせください

Codecovの連携概要については[連携ページ](http://admina.moneyforward.com/jp/integrations/codecov)をご覧ください。
