-
-
Notifications
You must be signed in to change notification settings - Fork 427
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
OBPIH-6649 Add support for Jacoco code coverage reporting #4933
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4933 +/- ##
=========================================
Coverage ? 7.57%
Complexity ? 803
=========================================
Files ? 596
Lines ? 42170
Branches ? 10258
=========================================
Hits ? 3195
Misses ? 38512
Partials ? 463 ☔ View full report in Codecov by Sentry. |
The Codecov report comment here should be more interesting once we merge to develop and it has something to compare to. I still need to configure exactly what the comment displays (I want to make sure it does a diff on changed files and doesn't show the whole coverage) but I'll leave that for the next PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, looks good to me. Can we get a list of all files that it looks into? Is it everything from the build/classes/groovy/main
? Locally I see some changelogs there and taglibs. 5% coverage seems small? It kinda aligns with the ~5% that we had in the 0.8.x, but feels like we bumped up the coverage by at least a few percentage points recently? 🤔
@awalkowiak yeah everything under |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am speechless. 🫶
✨ Description of Change
Link to GitHub issue or Jira ticket: https://pihemr.atlassian.net/browse/OBPIH-6649
Description: Generates a code coverage report using Jacoco whenever tests are run and then uploads them to Codecov when commits are pushed to PRs or when PRs are merged to develop.
Codecov dashboard: https://app.codecov.io/gh/openboxes/openboxes/
And this is what the raw HTML Jacoco reports that codecov is built from look like (we probably won't use these much except for local testing):