Skip to content

[#582] Migrate to Kover 0.9.x #615

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

luongvo
Copy link
Member

@luongvo luongvo commented Jul 8, 2025

Solves #582

What happened 👀

Insight 📝

In the 0.7.x version, it was allowed to merge a report for several Android build variants only into default reports, it was not possible to create several combinations with the arbitrary inclusion of different build variants.
Since 0.8.0 in order to merge several Android build variants, you need to create a custom reports variant.

Proof Of Work 📹

Before (62.1%) After (73.6%)
image image

Summary by CodeRabbit

Summary by CodeRabbit

  • New Features

    • Enhanced code coverage setup with custom coverage variants and refined filtering for more accurate reports.
  • Bug Fixes

    • Updated workflows and documentation to use new custom coverage report commands for consistency.
  • Chores

    • Upgraded code coverage plugin to latest version for improved performance.
  • Documentation

    • Revised README files to reflect updated commands for generating coverage reports.

@luongvo luongvo added this to the 3.32.0 milestone Jul 8, 2025
@luongvo luongvo self-assigned this Jul 8, 2025
Copy link

coderabbitai bot commented Jul 8, 2025

Walkthrough

The changes update the Kover code coverage plugin version and refactor its configuration across multiple modules and CI/CD workflows. Gradle tasks for coverage reports are switched from standard to custom variants, with corresponding updates to documentation and artifact paths. Enhanced filtering and variant-specific setup are introduced for coverage reporting.

Changes

Files/Paths Change Summary
sample-compose/gradle/libs.versions.toml, template-compose/gradle/libs.versions.toml Updated Kover plugin version from 0.7.3 to 0.9.1.
sample-compose/app/build.gradle.kts, template-compose/app/build.gradle.kts Refactored Kover configuration: replaced koverReport with kover block, added custom variant, enhanced filters.
sample-compose/data/build.gradle.kts, template-compose/data/build.gradle.kts Added Kover custom variant configuration for debug build.
sample-compose/domain/build.gradle.kts, template-compose/domain/build.gradle.kts Added Kover custom variant configuration for JVM target.
.cicdtemplate/.bitrise/bitrise.yml, .cicdtemplate/.codemagic/codemagic.yaml Updated Gradle task for coverage from koverHtmlReport to koverHtmlReportCustom.
.cicdtemplate/.github/workflows/.yml, .github/workflows/.yml Updated workflow steps to use custom Kover Gradle tasks (koverHtmlReportCustom/koverXmlReportCustom).
Dangerfile Updated Kover report path and removed trailing whitespace.
sample-compose/README.md, template-compose/README.md, deprecated/*/README.md Updated documentation to reference custom Kover Gradle tasks.

Sequence Diagram(s)

sequenceDiagram
    participant Developer
    participant CI/CD Workflow
    participant Gradle
    participant Kover Plugin

    Developer->>CI/CD Workflow: Push code / Open PR
    CI/CD Workflow->>Gradle: Run ./gradlew koverHtmlReportCustom (or koverXmlReportCustom)
    Gradle->>Kover Plugin: Generate coverage report (custom variant, enhanced filters)
    Kover Plugin-->>Gradle: Coverage report (custom path)
    Gradle-->>CI/CD Workflow: Report artifact
    CI/CD Workflow-->>Developer: Display/report results
Loading

Suggested labels

type : feature

Suggested reviewers

  • minhnimble
  • kaungkhantsoe
  • manh-t
  • sleepylee
  • toby-thanathip
  • win-than-htike

Poem

Hopping through reports with custom flair,
Kover’s new version is light as air!
Filters exclude what’s not to be seen,
Coverage now is precise and clean.
Workflows and docs all join the dance—
This bunny’s code has a better chance!
🐇✨

✨ Finishing Touches
  • 📝 Generate Docstrings

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.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@luongvo luongvo force-pushed the chore/582-migrate-to-kover-0.8 branch from bdda502 to a4b8aa5 Compare July 8, 2025 07:40
@luongvo luongvo had a problem deploying to template-compose July 8, 2025 07:40 — with GitHub Actions Failure
@luongvo luongvo force-pushed the chore/582-migrate-to-kover-0.8 branch from a4b8aa5 to 04ce18f Compare July 8, 2025 08:11
@luongvo luongvo temporarily deployed to template-compose July 8, 2025 08:11 — with GitHub Actions Inactive
Copy link

github-actions bot commented Jul 8, 2025

7 Warnings
⚠️ Uh oh! Your project is under 80% coverage!
⚠️ template-compose/gradle/libs.versions.toml#L10 - A newer version of androidx.compose:compose-bom than 2025.02.00 is available: 2025.06.01
⚠️ template-compose/gradle/libs.versions.toml#L12 - A newer version of androidx.navigation:navigation-compose than 2.5.3 is available: 2.9.1
⚠️ template-compose/gradle/libs.versions.toml#L13 - A newer version of androidx.core:core-ktx than 1.15.0 is available: 1.16.0
⚠️ template-compose/gradle/libs.versions.toml#L14 - A newer version of androidx.datastore:datastore-preferences than 1.1.3 is available: 1.1.7
⚠️ template-compose/gradle/libs.versions.toml#L16 - A newer version of com.android.application than 8.8.2 is available: 8.11.0
⚠️ template-compose/gradle/libs.versions.toml#L16 - A newer version of com.android.library than 8.8.2 is available: 8.11.0

Kover report for template-compose:

🧛 Template - Compose Unit Tests Code Coverage: 73.20%

Coverage of Modified Files:

File Coverage

Modified Files Not Found In Coverage Report:

Dangerfile
README.md
README.md
README.md
README.md
bitrise.yml
build.gradle.kts
build.gradle.kts
build.gradle.kts
build.gradle.kts
build.gradle.kts
build.gradle.kts
codemagic.yaml
codemagic.yaml
deploy_staging_and_production_to_firebase_app_distribution.yml
libs.versions.toml
libs.versions.toml
review_pull_request.yml
review_pull_request.yml
run_detekt_and_unit_tests.yml
run_detekt_and_unit_tests.yml

Codebase cunningly covered by count Shroud 🧛

Generated by 🚫 Danger

@luongvo luongvo force-pushed the chore/582-migrate-to-kover-0.8 branch from 04ce18f to 047cfaa Compare July 8, 2025 08:27
@luongvo luongvo temporarily deployed to template-compose July 8, 2025 08:27 — with GitHub Actions Inactive
@luongvo luongvo linked an issue Jul 8, 2025 that may be closed by this pull request
@luongvo luongvo temporarily deployed to template-compose July 8, 2025 08:48 — with GitHub Actions Inactive
@luongvo luongvo marked this pull request as ready for review July 8, 2025 08:48
@coderabbitai coderabbitai bot temporarily deployed to template-compose July 8, 2025 08:52 Inactive
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🔭 Outside diff range comments (1)
sample-compose/app/build.gradle.kts (1)

174-199: Fix compile-time type mismatch in classes() call

classes() expects a vararg String. Passing a List<String> causes a type error and the build will fail.

             excludes {
                 androidGeneratedClasses()
-                classes(excludedFiles)
+                classes(*excludedFiles.toTypedArray())
             }
♻️ Duplicate comments (4)
template-compose/README.md (1)

40-42: Duplicate of the comment on deprecated/template-xml/README.md – same path update applies here.

sample-compose/README.md (1)

40-42: Duplicate of the comment on deprecated/template-xml/README.md – same path update applies here.

deprecated/sample-xml/README.md (1)

40-42: Duplicate of the comment on deprecated/template-xml/README.md – same path update applies here.

sample-compose/data/build.gradle.kts (1)

69-75: Same observation as in template-compose/data – consider centralising the “custom” variant

See the comment on template-compose/data.
Duplicated config is easy to forget when the variant list or naming scheme evolves.

🧹 Nitpick comments (7)
deprecated/template-xml/README.md (1)

40-42: Update the report path to prevent confusion

The custom variant’s HTML report lands at
app/build/reports/kover/html/custom/index.html (and XML at …/xml/reportCustom.xml).
The note below still points to the old root dir. Consider amending:

-Report is located at: `app/build/reports/kover/`
+Report is located at: `app/build/reports/kover/html/custom/`

This also quiets MD014 (“dollar signs without output”) if you drop the leading $ in the command.

.cicdtemplate/.github/workflows/run_detekt_and_unit_tests.yml (1)

60-66: Consider narrowing the artifact upload path

The archive step uploads app/build/reports/kover/, which will now contain html + xml sub-folders for all variants.
If you only need the custom report you can trim the path to e.g. app/build/reports/kover/custom/ to save artefact size.

template-compose/domain/build.gradle.kts (1)

18-25: Avoid repeating identical Kover blocks in every module

Every _compose module now contains virtually identical:

kover {
    currentProject {
        createVariant("custom") { add("jvm") }
    }
}

Consider moving this into:

  1. A Gradle convention plugin, or
  2. A subprojects { ... } or allprojects { ... } block in the root build.gradle.kts.

That eliminates duplication and guarantees the variant name stays consistent everywhere.

.cicdtemplate/.codemagic/codemagic.yaml (1)

18-20: Consider passing Gradle CI flags for stability/performance

./gradlew koverHtmlReportCustom is fine, but in hosted CI the daemon cache is frequently cold and parallel workers are disabled.
Appending --no-daemon --stacktrace --warning-mode=all tends to save memory and gives actionable diagnostics when the build fails.

-      script: ./gradlew koverHtmlReportCustom
+      script: ./gradlew koverHtmlReportCustom --no-daemon --stacktrace --warning-mode=all
.github/workflows/run_detekt_and_unit_tests.yml (1)

47-50: Same flags as Codemagic: prefer explicit Gradle options

Adding --no-daemon --stacktrace keeps the memory footprint low on the runner and provides richer logs.

-        run: ./gradlew koverHtmlReportCustom
+        run: ./gradlew koverHtmlReportCustom --no-daemon --stacktrace
template-compose/data/build.gradle.kts (1)

65-72: Avoid per-module duplication; extract the “custom” Kover variant to a convention plugin

Every Android/JVM module now repeats the same kover { currentProject { createVariant("custom") { … } } } snippet.
Moving this block to a shared Gradle convention plugin (e.g. build-logic/kover-conventions.gradle.kts) keeps the rule DRY and guarantees that future variant tweaks stay in a single place.

No functional change required for this PR, but worth considering before the pattern spreads to more modules.

template-compose/app/build.gradle.kts (1)

163-200: Great filter list, but consider externalising to avoid divergence across modules

The exclusion list is long and identical to what other modules need. Place it in:

gradle/kover/filters.gradle.kts

and reuse:

kover { 
    currentProject { … }
    reports {
        filters {
            from(rootProject.file("gradle/kover/filters.gradle.kts"))
        }
    }
}

This keeps the list synchronised and shortens each module build script.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e64e201 and 047cfaa.

📒 Files selected for processing (21)
  • .cicdtemplate/.bitrise/bitrise.yml (2 hunks)
  • .cicdtemplate/.codemagic/codemagic.yaml (1 hunks)
  • .cicdtemplate/.github/workflows/deploy_staging_and_production_to_firebase_app_distribution.yml (1 hunks)
  • .cicdtemplate/.github/workflows/review_pull_request.yml (1 hunks)
  • .cicdtemplate/.github/workflows/run_detekt_and_unit_tests.yml (1 hunks)
  • .github/workflows/review_pull_request.yml (1 hunks)
  • .github/workflows/run_detekt_and_unit_tests.yml (2 hunks)
  • Dangerfile (2 hunks)
  • codemagic.yaml (1 hunks)
  • deprecated/sample-xml/README.md (1 hunks)
  • deprecated/template-xml/README.md (1 hunks)
  • sample-compose/README.md (1 hunks)
  • sample-compose/app/build.gradle.kts (2 hunks)
  • sample-compose/data/build.gradle.kts (1 hunks)
  • sample-compose/domain/build.gradle.kts (1 hunks)
  • sample-compose/gradle/libs.versions.toml (1 hunks)
  • template-compose/README.md (1 hunks)
  • template-compose/app/build.gradle.kts (2 hunks)
  • template-compose/data/build.gradle.kts (1 hunks)
  • template-compose/domain/build.gradle.kts (1 hunks)
  • template-compose/gradle/libs.versions.toml (1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
template-compose/README.md

41-41: Dollar signs used before commands without showing output

(MD014, commands-show-output)

sample-compose/README.md

41-41: Dollar signs used before commands without showing output

(MD014, commands-show-output)

deprecated/template-xml/README.md

41-41: Dollar signs used before commands without showing output

(MD014, commands-show-output)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Review pull request
🔇 Additional comments (11)
template-compose/gradle/libs.versions.toml (1)

24-24: Verify Kover 0.9.1 ↔ Kotlin 2.1.10 compatibility before merging

kover = "0.9.1" is a sizeable jump from 0.7.x. Kover 0.9.x has historically lagged a little behind bleeding-edge Kotlin versions.
Please confirm locally (or on CI) that:

  1. All Kotlin tasks complete with -Xcontext-receivers & K2 enabled (Kotlin 2.1.10 here).
  2. Coverage is generated without the “IC error: incompatible data version” warning.

If you hit either issue, pinning Kover 0.9.0-RC 4 (first build with K2 support) or upgrading to the just-released 0.9.2 may be required.

.cicdtemplate/.github/workflows/run_detekt_and_unit_tests.yml (1)

57-59: Verify that koverHtmlReportCustom exists at the root project level

The job now invokes ./gradlew koverHtmlReportCustom, but that task will only be present if every module and the root project define the "custom" variant (or the root aggregates them via koverMergedReportCustom).
Please double-check that:

  1. All modules participating in the merge expose the "custom" variant.
  2. The root project applies either kover or kover-merge and also creates the "custom" variant, otherwise this step will fail in CI.
sample-compose/gradle/libs.versions.toml (1)

24-24: Confirm Kover 0.9.1 compatibility with Kotlin 2.1.10 & AGP 8.8.2

Kover 0.9.1 was released before Kotlin 2.1.x and very recent AGP versions. Although it generally works, there have been sporadic ABI mismatches in minor releases.
Run the full Gradle build locally (including koverXmlReportCustom) to ensure no NoSuchMethodError or ClassNotFoundException is thrown.

.cicdtemplate/.github/workflows/review_pull_request.yml (1)

43-45: Same task-name risk here as in the unit-test workflow

koverXmlReportCustom will be absent if any module or the root forgets to define the "custom" variant. Ensure the task is resolvable, otherwise the PR-review workflow will fail early.

codemagic.yaml (1)

19-22: Codemagic step mirrors the same custom-task assumption

If koverHtmlReportCustom is missing (root project not configured, typo in variant name, etc.) the whole workflow will halt. Double-check before merging.

.cicdtemplate/.github/workflows/deploy_staging_and_production_to_firebase_app_distribution.yml (1)

50-52: Consistency check: HTML report won’t generate XML expected elsewhere

koverHtmlReportCustom produces only HTML; any later tooling that expects reportCustom.xml (e.g. local scripts or Danger when run outside PRs) will have nothing to parse.
If XML is also required, append the XML task or switch to the aggregated koverReportCustom.

-        run: ./gradlew koverHtmlReportCustom
+        run: ./gradlew koverHtmlReportCustom koverXmlReportCustom
sample-compose/domain/build.gradle.kts (1)

19-25: jvm variant addition looks correct

For a pure JVM module the jvm coverage variant is the recommended way in Kover ≥ 0.8; the block is concise and needs no changes.

.cicdtemplate/.bitrise/bitrise.yml (2)

52-56: Double-check how android-unit-test@1 handles the arguments field

The step usually autogenerates tasks like :app:testDebugUnitTest based on variant.
By overriding arguments with only koverHtmlReportCustom the step’s internal task inference might be bypassed; success relies on the Kover task’s own dependency chain.

Please verify that the step still runs your unit tests (look for :app:testDebugUnitTest in the Bitrise log). If not, prepend the explicit test task:

- arguments: "testDebugUnitTest koverHtmlReportCustom"

64-67: Report path may not match where the aggregated report is generated

koverHtmlReportCustom for the root project places the HTML under build/reports/kover/htmlCustom/… (root-level), not under app/build/… unless the task is scoped to :app:.

Because the step calls the task via arguments (without a module prefix), the report will likely live at the root.
Confirm the actual output directory and adjust deploy_path if necessary to avoid uploading an empty artifact.

sample-compose/app/build.gradle.kts (2)

160-163: Including data and domain modules in coverage looks good

The additional kover configuration correctly aggregates coverage from the core modules.


165-170: Add missing koverXmlReportCustom invocation to CI workflows

Our scan only found the HTML report task in codemagic.yaml; you’ll also need to invoke the XML report for the new “custom” variant. For example:

  • codemagic.yaml:21

Suggested update:

-      script: ./gradlew koverHtmlReportCustom
+      # generate both HTML and XML reports for the custom variant
+      script: ./gradlew koverHtmlReportCustom koverXmlReportCustom

Likely an incorrect or invalid review comment.

@luongvo luongvo temporarily deployed to template-compose July 8, 2025 09:03 — with GitHub Actions Inactive
@luongvo luongvo temporarily deployed to template-compose July 8, 2025 17:18 — with GitHub Actions Inactive
@luongvo luongvo force-pushed the chore/582-migrate-to-kover-0.8 branch from 047cfaa to 8941fa3 Compare July 9, 2025 08:51
@luongvo luongvo temporarily deployed to template-compose July 9, 2025 08:52 — with GitHub Actions Inactive
@coderabbitai coderabbitai bot deployed to template-compose July 9, 2025 08:58 Active
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (3)
template-compose/README.md (1)

40-42: Remove leading “$” to satisfy markdown-lint MD014

The linter flags $ prompts because the README doesn’t show sample output.
Dropping the prompt keeps the snippet copy-paste-friendly and silences MD014.

-``` 
-$ ./gradlew koverHtmlReportCustom
-``` 
+```bash
+./gradlew koverHtmlReportCustom
+```
deprecated/sample-xml/README.md (1)

32-42: Minor: drop the leading “$” prompt symbol for markdown-lint compliance

markdownlint (MD014) flags commands that start with $ when no output is shown.
Either include the expected output or remove the prompt symbol:

-$ ./gradlew koverHtmlReportCustom
+./gradlew koverHtmlReportCustom

(The same applies to the other Gradle commands above.)

deprecated/template-xml/README.md (1)

40-42: Minor: markdownlint MD014 warning

markdownlint flags lines that start commands with a leading $ when no output is shown.
The rest of the README already uses that style, so you can safely ignore—or remove all leading $ prompts for copy-paste friendliness.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 047cfaa and 8941fa3.

📒 Files selected for processing (21)
  • .cicdtemplate/.bitrise/bitrise.yml (2 hunks)
  • .cicdtemplate/.codemagic/codemagic.yaml (1 hunks)
  • .cicdtemplate/.github/workflows/deploy_staging_and_production_to_firebase_app_distribution.yml (1 hunks)
  • .cicdtemplate/.github/workflows/review_pull_request.yml (1 hunks)
  • .cicdtemplate/.github/workflows/run_detekt_and_unit_tests.yml (1 hunks)
  • .github/workflows/review_pull_request.yml (1 hunks)
  • .github/workflows/run_detekt_and_unit_tests.yml (2 hunks)
  • Dangerfile (2 hunks)
  • codemagic.yaml (1 hunks)
  • deprecated/sample-xml/README.md (1 hunks)
  • deprecated/template-xml/README.md (1 hunks)
  • sample-compose/README.md (1 hunks)
  • sample-compose/app/build.gradle.kts (1 hunks)
  • sample-compose/data/build.gradle.kts (1 hunks)
  • sample-compose/domain/build.gradle.kts (1 hunks)
  • sample-compose/gradle/libs.versions.toml (1 hunks)
  • template-compose/README.md (1 hunks)
  • template-compose/app/build.gradle.kts (1 hunks)
  • template-compose/data/build.gradle.kts (1 hunks)
  • template-compose/domain/build.gradle.kts (1 hunks)
  • template-compose/gradle/libs.versions.toml (1 hunks)
✅ Files skipped from review due to trivial changes (4)
  • Dangerfile
  • .cicdtemplate/.github/workflows/review_pull_request.yml
  • codemagic.yaml
  • .cicdtemplate/.github/workflows/deploy_staging_and_production_to_firebase_app_distribution.yml
🚧 Files skipped from review as they are similar to previous changes (13)
  • template-compose/domain/build.gradle.kts
  • template-compose/gradle/libs.versions.toml
  • .cicdtemplate/.github/workflows/run_detekt_and_unit_tests.yml
  • sample-compose/data/build.gradle.kts
  • .cicdtemplate/.codemagic/codemagic.yaml
  • template-compose/data/build.gradle.kts
  • .github/workflows/run_detekt_and_unit_tests.yml
  • .github/workflows/review_pull_request.yml
  • sample-compose/gradle/libs.versions.toml
  • .cicdtemplate/.bitrise/bitrise.yml
  • template-compose/app/build.gradle.kts
  • sample-compose/app/build.gradle.kts
  • sample-compose/domain/build.gradle.kts
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
deprecated/sample-xml/README.md

41-41: Dollar signs used before commands without showing output

(MD014, commands-show-output)

deprecated/template-xml/README.md

41-41: Dollar signs used before commands without showing output

(MD014, commands-show-output)

sample-compose/README.md

41-41: Dollar signs used before commands without showing output

(MD014, commands-show-output)

template-compose/README.md

41-41: Dollar signs used before commands without showing output

(MD014, commands-show-output)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Review pull request
  • GitHub Check: Verify newproject script
  • GitHub Check: Run Detekt and unit tests
🔇 Additional comments (5)
template-compose/README.md (1)

41-45: Confirm output directory is still accurate

After migrating to a custom variant, Kover’s default output folder usually changes to
build/reports/kover/htmlCustom (root‐level) instead of app/build/reports/kover/.
Leaving the old path may mislead readers.

-Report is located at: `app/build/reports/kover/`
+Report is located at: `build/reports/kover/htmlCustom/`
sample-compose/README.md (2)

41-42: Command name change looks correct

The switch to koverHtmlReportCustom aligns with the new custom variant introduced by the Kover 0.9 migration.


44-45: Verify and update the coverage report path

With Kover ≥ 0.8, the HTML output for a custom variant is generated under
<module>/build/reports/kover/htmlCustom/ (or …/kover/<variant>/).
The current doc still points to app/build/reports/kover/, which may mislead newcomers.

-Report is located at: `app/build/reports/kover/`
+Report is located at: `app/build/reports/kover/htmlCustom/`

Please run the task once and confirm the actual path before merging.

deprecated/sample-xml/README.md (1)

41-45: Verify report path — the task name changed but the location may have shifted

koverHtmlReportCustom usually writes to build/reports/kover/html/custom/ (note the extra html/custom segment).
Please double-check the generated directory after running the task; if it differs, update the doc accordingly:

-Report is located at: `app/build/reports/kover/`
+Report is located at: `app/build/reports/kover/html/custom/`
deprecated/template-xml/README.md (1)

40-45: Double-check the report location – path may now include the custom variant

The Kover task name has changed from koverHtmlReport to koverHtmlReportCustom, but the documented output path is still app/build/reports/kover/.
Starting from Kover 0.8+, each report variant is written to <buildDir>/reports/kover/<variant>/… (e.g. app/build/reports/kover/custom/html).
To avoid confusion for newcomers, please verify the actual location and update the README accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate to Kover 0.8
1 participant