Statuses or Checks Not Displaying on Pull Request / Merge Request

If statuses or Github Checks are not displaying on your pull request or merge request, the first step is to ensure the uploader did not encounter an error sending the report to Codecov. In order to not block your pipeline, the Codecov step will return success by default - even if errors occurred.

To troubleshoot, expand the output of the upload step on your CI system and look for a line with a `resultURL` at the end of the output, as shown in the image below: 


If you do not see the success message as shown above, look for any error messages. 

Additionally, enabling verbose mode (by adding `-v` to the end of the uploader command) will provide additional output to help you troubleshoot. If you are using a uploader wrapper such as an action or an orb please refer to its documentation for instructions on how to enable verbose mode. 


Special Note Regarding Pull Requests from Forks:

By default, most CI systems do not share secrets such as `CODECOV_TOKEN` with forks of the repo without the need for an additional setting. This may prevent Codecov from being able to properly upload the reports for these requests. To check this, refer to the troubleshooting steps above and look for an error message about failure to find the repo.

Was this article helpful?
0 out of 0 found this helpful

Articles in this section