Skip to content

Codecov Setup

vhirtham edited this page Mar 17, 2018 · 5 revisions
  • Add --coverage to the cmake cxx_flags
  • Build the project
  • Run the tests. Without runnig the tests, no data will be generated!
  • Run the following commands to upload the data:
- lcov --directory build --capture --output-file coverage.info
- lcov --remove coverage.info 'usr/*' --output-file coverage.info
- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
  • Get the link to the codecov batch on the codecov homepage from the projects settings menu.

https://github.com/codecov/support/wiki/Codecov-Yaml

Clone this wiki locally