Skip to content

Commit

Permalink
Merge pull request #354 from codacy/doc/fix-confirm-coverage-setup-DC…
Browse files Browse the repository at this point in the history
…OS-307

doc: Codacy only displays coverage after the second commit DOCS-307
  • Loading branch information
Paulo Ribeiro authored Nov 2, 2021
2 parents 1dfe071 + b1279df commit a29ca5c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,13 @@ After having coverage reports set up for your repository, you must use Codacy Co
See [alternative ways of running Codacy Coverage Reporter](alternative-ways-of-running-coverage-reporter.md) for other ways of running Codacy Coverage Reporter, such as by installing the binary manually or using a GitHub Action or CircleCI Orb.
1. Validate that the uploaded coverage data was successfully read by Codacy. To do this, check that Codacy displays the coverage information on your next commit or pull request, either as a positive, negative, or no variation (repesented by `=`) of the coverage percentage:
1. Optionally, [add a Codacy badge](https://docs.codacy.com/repositories/badges/) to the README of your repository to display the current code coverage.
![Coverage data displayed on Codacy](images/coverage-codacy-ui.png)
To validate that the coverage setup is complete, **wait until your repository has at least two new commits** and check that Codacy displays the coverage information on the last commit or in subsequent pull requests, either as a positive, negative, or no variation (repesented by `=`) of the coverage percentage:
Follow [these troubleshooting steps](troubleshooting-common-issues.md#no-coverage-visible) if Codacy doesn't display the coverage data for your commit or pull request (repesented by `-`).
![Coverage data displayed on Codacy](images/coverage-codacy-ui.png)
1. Optionally, [add a Codacy badge](https://docs.codacy.com/repositories/badges/) to the README of your repository to display the current code coverage.
Follow [these troubleshooting steps](troubleshooting-common-issues.md#no-coverage-visible) if Codacy doesn't display the coverage data for your commit or pull request (repesented by `-`).

### Uploading multiple coverage reports for the same language {: id="multiple-reports"}

Expand Down

0 comments on commit a29ca5c

Please sign in to comment.