woovibr / php-sdk

OpenPix/Woovi PHP SDK
https://developers.openpix.com.br/docs/sdk/php/sdk-php-what-is
MIT License
11 stars 2 forks source link

ci(actions): Code coverage with Codecov and GitHub actions #40

Open criskell opened 1 year ago

criskell commented 1 year ago

Codecov is free for open source projects.

Guides: https://about.codecov.io/blog/measuring-php-code-coverage-with-phpunit-and-github-actions/ https://about.codecov.io/blog/getting-started-with-code-coverage-for-php/

szepeviktor commented 1 year ago

Hello! Coveralls is a bit better provider.

workflow: https://github.com/szepeviktor/debian-server-tools/blob/2d821dc502d80de4f961021066a1d2a7ce1466b3/webserver/Continuous-integration-Continuous-delivery.yml#L112-L119

config:

    <coverage>
        <report>
            <clover outputFile="build/logs/clover.xml"/>
        </report>
    </coverage>