From 88116e240d6ff70c36e3ec1025b824841ce4d0ee Mon Sep 17 00:00:00 2001 From: Paulo Ribeiro Date: Thu, 8 Sep 2022 15:56:40 +0100 Subject: [PATCH] doc: Move mismatched file paths to Pending state CY-6365 --- docs/index.md | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/docs/index.md b/docs/index.md index 1cf3f02b..f7afb1db 100644 --- a/docs/index.md +++ b/docs/index.md @@ -341,6 +341,14 @@ Follow these instructions to validate that your coverage setup is working correc Make sure that after uploading all partial reports you send the final notification. + + + The file paths in the coverage report don't match the ones on the repository Files page on Codacy. + + + Make sure that the file paths included in your coverage report are relative to the root directory of your repository. For example, src/index.js. + + The uploaded coverage data only includes information for files that are ignored on Codacy. @@ -363,17 +371,14 @@ Follow these instructions to validate that your coverage setup is working correc ![Coverage metrics displayed on Codacy](images/coverage-codacy-ui.png) - If Codacy doesn't display the coverage metrics for the latest commits or pull requests (represented by `-`), please validate the following: - - - Make sure that the file paths included in your coverage reports are relative to the root directory of your repository. For example, `src/index.js`. - - To display the coverage variation metric in pull requests, make sure that you have uploaded coverage data for both: + If Codacy doesn't display the coverage variation metric in pull requests (represented by `-`), make sure that you have uploaded coverage data for both: - - The common ancestor commit of the pull request branch and the target branch - - The last commit in the pull request branch + - The common ancestor commit of the pull request branch and the target branch + - The last commit in the pull request branch - The following diagram highlights the commits that must have received coverage data for Codacy to display the coverage variation metric on a pull request: + The following diagram highlights the commits that must have received coverage data for Codacy to display the coverage variation metric on a pull request: - ![Commits that must have received coverage data](images/coverage-pr-commits.png) + ![Commits that must have received coverage data](images/coverage-pr-commits.png) !!! note "Need help?" If you need help setting up coverage on your repository please contact us at including the following information: