-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #414 from codacy/doc/fix-troubleshoot-file-paths-C…
…Y-6365 doc: Move mismatched file paths troubleshooting to Pending state CY-6365
- Loading branch information
Showing
1 changed file
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <a href="uploading-coverage-in-advanced-scenarios/#multiple-reports-sequence">send the <code>final</code> notification</a>. | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
The file paths in the coverage report don't match the ones on the repository <strong>Files</strong> page on Codacy. | ||
</td> | ||
<td> | ||
Make sure that the file paths included in your coverage report are relative to the root directory of your repository. For example, <code>src/index.js</code>. | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
The uploaded coverage data only includes information for files that are <a href="../repositories-configure/ignoring-files/">ignored on Codacy</a>. | ||
|
@@ -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 <mailto:[email protected]> including the following information: | ||
|