Improve Kover setup by using only convention plugins (#6213)

* Improve Kover setup using convention plugins.
* Add a new JVM library convention plugin with Kover support
This commit is contained in:
Jorge Martin Espinosa
2026-03-16 15:41:07 +01:00
committed by GitHub
parent 3814085837
commit 949a12f3d2
11 changed files with 92 additions and 80 deletions

View File

@@ -73,7 +73,7 @@ jobs:
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
- name: ⚙️ Check coverage for debug variant (includes unit & screenshot tests)
run: ./gradlew testDebugUnitTest :tests:uitests:verifyPaparazziDebug :app:koverXmlReportGplayDebug :app:koverHtmlReportGplayDebug :app:koverVerifyAll $CI_GRADLE_ARG_PROPERTIES
run: ./gradlew testDebugUnitTest :tests:uitests:verifyPaparazziDebug :koverXmlReportMerged :koverHtmlReportMerged :koverVerifyAll $CI_GRADLE_ARG_PROPERTIES
- name: 🚫 Upload kover failed coverage reports
if: failure()
@@ -112,5 +112,5 @@ jobs:
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
files: app/build/reports/kover/reportGplayDebug.xml
files: build/reports/kover/reportMerged.xml
verbose: true