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:
parent
b21235d2da
commit
e79d9b627e
11 changed files with 92 additions and 80 deletions
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue