Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
criskell opened this issue Jun 24, 2023 · 1 comment · May be fixed by #48
Open

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

criskell opened this issue Jun 24, 2023 · 1 comment · May be fixed by #48
Assignees
Labels
enhancement New feature or request

Comments

@criskell
Copy link
Contributor

criskell commented Jun 24, 2023

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/

@criskell criskell added the enhancement New feature or request label Jun 24, 2023
@criskell criskell self-assigned this Jun 24, 2023
@szepeviktor
Copy link
Contributor

szepeviktor commented Jun 24, 2023

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>

@criskell criskell linked a pull request Jul 30, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants