Automatically see code coverage data and line annotations while browsing files or reviewing pull requests in GitHub.
If you wish to simply use the extension, it is available as a Firefox Add On and a Chrome Extension.
The Codecov browser extension makes it easy to identify needed test areas by showing you absolute coverage and coverage changes overlaid with your code right in GitHub.
Once installed, get:
Pre-requisites:
How to enable:
The extension uses your logged-in session to determine what private repos you have access to. Please make sure to log in to Codecov using your web browser to view coverage data for private repos in GitHub.
You can use this extension against installations of Codecov and GitHub that are:
In order to do so you must provide:
You can provide this information by using the Settings menu for the Extension in your browser.
$ web-ext run -s dist -t chromium
Note: You must be on GitHub's new UI for this extension to perform its magic. ✨
As of today, GitHub will show you the old UI if not logged in (running in a temporary profile using web-ext).
These steps will build the extension in the dist/
folder.
MacOS 13.3.1 (22E261)
NodeJS version 19.8.1
Chrome
$ npm install
$ npm run build
Firefox
$ npm install
$ npm run build
$ cp dist/manifest.firefox.json dist/manifest.json
Codecov is the all-in-one code coverage reporting solution for any test suite - giving developers actionable insights to deploy reliable code with confidence.