Setup using clean jacoco and jacoco-report gh action.#73
Conversation
WalkthroughReplaces in-repo JaCoCo SBT plugins with the external MoranaApps jacoco-method-filter plugin, updates build/plugin config and CI report path, and adds trailing newlines across many Scala source files (formatting-only). Changes
Sequence Diagram(s)mermaid Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
JaCoCo Coverage Report
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@project/plugins.sbt`:
- Around line 2-3: The plugin artifact declared with addSbtPlugin uses a
non-existent ID ("io.github.moranaapps" % "jacoco-method-filter-sbt" % "2.0.0");
change the artifactId to the correct one that includes the Scala/Scala-compiler
suffix (e.g., "jacoco-method-filter-sbt_2.12_1.0") so the addSbtPlugin call
references "io.github.moranaapps" % "jacoco-method-filter-sbt_2.12_1.0" %
"2.0.0" (or the appropriate Scala suffix for your build) to match Maven Central.
lsulak
left a comment
There was a problem hiding this comment.
Approving, I can see that you basically moved these 2 source files into https://github.com/MoranaApps/jacoco-method-filter/blob/master/sbt-plugin/src/main/scala/morana/coverage/JacocoFilterPlugin.scala and https://github.com/MoranaApps/jacoco-method-filter/blob/master/sbt-plugin/src/main/scala/morana/coverage/Keys.scala and it reports into the PR, so from that perspective it's a nice evolution that will save you and us time - we don't need to care about these 2 files in individual repositories, but centrally in that repo of yours. Thank you!
I guess that https://github.com/AbsaOSS/balta/blob/master/jmf-rules.txt still applies, right? So no change from that perspective. I see it here still: https://github.com/MoranaApps/jacoco-method-filter/blob/master/sbt-plugin/src/main/scala/morana/coverage/JacocoFilterPlugin.scala#L136
Overview
Release Notes:
Summary by CodeRabbit
Chores
Refactor