Skip to content

replacing legacy sbt-jacoco#90

Open
MatloaItumeleng wants to merge 6 commits intomasterfrom
feature/89-jacoco-upgrade
Open

replacing legacy sbt-jacoco#90
MatloaItumeleng wants to merge 6 commits intomasterfrom
feature/89-jacoco-upgrade

Conversation

@MatloaItumeleng
Copy link
Copy Markdown
Contributor

Release notes:

  • Upgrades the legacy sbt-jacoco to the latest stable version.

closes #89

@github-actions
Copy link
Copy Markdown

JaCoCo code coverage report - scala 2.12.12

There is no coverage information present for the Files changed

@MatloaItumeleng MatloaItumeleng changed the title replacing replacing legacy sbt-jacoco replacing legacy sbt-jacoco Mar 30, 2026
ABLL526
ABLL526 previously approved these changes Mar 31, 2026
Copy link
Copy Markdown
Contributor

@ABLL526 ABLL526 left a comment

Choose a reason for hiding this comment

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

LGTM, the only thing is the txt file. Can you remove the comments from it?
Other than that I will approve

@MatloaItumeleng
Copy link
Copy Markdown
Contributor Author

The jmf-rules.txt file acts as a template for the project as part of Morana usage. The workflow will be updated to run coverage. For reference, see: https://github.com/MoranaApps/jacoco-method-filter/blob/master/jmf-rules.template.txt

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

JaCoCo code coverage report - scala 2.12.12

Metric (instruction) Coverage Threshold Status
Overall 81.57% 80.0%
Changed Files 0.0% 80.0%
Report Coverage (O/Ch) Threshold (O/Ch) Status (O/Ch)
spark-data-standardization Jacoco Report - scala:2.12.20 81.57% / 0.0% 80.0% / 80.0% ✅/✅
File Path Coverage Threshold Status

No changed file in reports.

Copy link
Copy Markdown

@TheLydonKing TheLydonKing left a comment

Choose a reason for hiding this comment

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

Just read the code, makes sense to me.

Copy link
Copy Markdown
Contributor

@dk1844 dk1844 left a comment

Choose a reason for hiding this comment

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

LGTM (read the code)

@@ -0,0 +1,155 @@
# jacoco-method-filter — Default Rules & HowTo (Scala)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why is this file needed?

jacocoReportName := s"spark-data-standardization Jacoco Report - scala:${scalaVersion.value}"
jacocoReportFormats := Set("html", "xml")

// jacocoExcludes := Seq("za/co/absa/standardization/udf/UDFBuilder*", "za/co/absa/standardization/udf/UDFNames")
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @miroslavpojer we also thinking about excluding some tests using the filter method please have a look for a comment

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.

Upgrade JaCoCo Integration to modern coverage approach

4 participants