Once installed, the browser extension will work immediately, with no additional setup required. To confirm that the extension is working, please navigate to this sample link where you should see the source code highlighted, and a button added to the file header.
Tree Navigation Column for file coverage, with background and commit header overall coverage.
Source Code adding inline background colors to source and toggle button, in the file header. Toggle by clicking the
List Commits adding coverage of the commit next to the build status.
Compare and Pull Request add coverage and diff to (a) file list, (b) compare header, (c) file header. Highlight gutter background with coverage metrics.
Please make sure you are logged into Codecov in the browser that you are using the extension with. Otherwise, coverage will not show up.
Coverage will automatically overlay on commits that have reports uploaded to Codecov. If you view coverage on
master branch, for example, the extension will query Codecov for the tip of master which may not be uploaded to Codecov, resulting in No Coverage* found.
v Commit in Codecov with coverage master . . • . . ^ Tip of master (no reports uploaded)
This example shows that if you view coverage on
masterbranch it will use the latest commit on the branch which does not contain coverage reports.
Adding your Codecov Enterprise endpoint to the browser extension is simple.
- Navigate to your extension manager.
- Find the Codecov Extension and click Configure / Preferences.
- Find the section titled Codecov Enterprise domains.
- Add the location of your Codecov Enterprise. ex.
- Your CCE must have SSL enabled, a requirement to perform CORS (Cross-Origin Requests).