Skip to content

Add code coverage support fo CI#56

Open
froozeify wants to merge 4 commits into
pluginsGLPI:mainfrom
froozeify:ci-code-coverage
Open

Add code coverage support fo CI#56
froozeify wants to merge 4 commits into
pluginsGLPI:mainfrom
froozeify:ci-code-coverage

Conversation

@froozeify
Copy link
Copy Markdown
Contributor

@froozeify froozeify commented Dec 31, 2025

Add coverage configuration support using project env variable.

This will create a coverage report on the PR.

CI won't fail, just display a report.

Interconnected PR :

@froozeify
Copy link
Copy Markdown
Contributor Author

I can't assign reviewer on this repo @AdrienClairembault

Copy link
Copy Markdown
Contributor

@AdrienClairembault AdrienClairembault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally I am not a fan of code coverage as I find it to be a bad metric, but if you find it useful on your side and can gain something from it then I don't mind adding it.

@froozeify
Copy link
Copy Markdown
Contributor Author

It was an idea we discussed with @Rom1-B, but yes coverage could be an indicator for forgotten test on some function but indeed the value shouldn't be taken as proof.

I.E: In whatsapp the api calls to the whatsapp API can't be tested and the coverage won't be high. But it can put in light some important method that should be tested.

Comment thread .github/workflows/continuous-integration.yml.tpl Outdated
Comment thread README.md
@froozeify froozeify marked this pull request as draft February 23, 2026 09:27
@froozeify froozeify changed the title ci: add code coverage support Add code coverage support fo CI Jun 3, 2026
@froozeify froozeify marked this pull request as ready for review June 3, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants