Codecov PHP Example
- Collect coverage reports
vendor/bin/phpunit --coverage-clover=coverage.xml
, see here - Call
bash <(curl -s https://codecov.io/bash)
at the end of your CI build, see here
Contact Codecov support team for help
๐ https://codecov.io/support
Frequently Asked Questions
####
<phpunit>
...
<logging>
<log type="coverage-clover" target="clover.xml"/>
</logging>
</phpunit>
####
Codecov will only show files that have lines covered (hit or miss). If your file has no statments it will not show up in Codecov until you add some. Go get em' tiger!