Disable Paparazzi tasks when Kover is running. (#884)

* Disable Paparazzi tasks when Kover is running.

It allows us to split the test jobs between unit tests, screenshot test and coverage reports.

* Move Sonar upload to the quality workflow, since we have no lint info in tests.
This commit is contained in:
Jorge Martin Espinosa 2023-07-17 10:55:51 +02:00 committed by GitHub
parent 045d957f91
commit 323a84db37
5 changed files with 26 additions and 18 deletions

View file

@ -283,13 +283,6 @@ koverMerged {
}
}
// Make Kover depend on Paparazzi
tasks.whenTaskAdded {
if (name.startsWith("koverMerged")) {
dependsOn(":tests:uitests:verifyPaparazziDebug")
}
}
// When running on the CI, run only debug test variants
val ciBuildProperty = "ci-build"
val isCiBuild = if (project.hasProperty(ciBuildProperty)) {