Skip to content

mavimo/example-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codecov PHP Example

  1. Collect coverage reports vendor/bin/phpunit --coverage-clover=coverage.xml, see here
  2. 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

####❔Using phpunit.xml.dist? Start tracking coverage metrics by adding a coverage logger:

<phpunit>
  ...
  <logging>
        <log type="coverage-clover" target="clover.xml"/>
    </logging>
</phpunit>

####❔I don't see one or more files?

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!

About

PHP coverage example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 83.1%
  • Makefile 16.9%