runQualityChecks task shouldn't fail fast (#4309)
* `runQualityChecks` task shouldn't fail fast Make sure we run every task it depends on so we get a list with all the issues instead of having to retry several times. * Tweak `runQualityChecks` to make sure all Android lint tasks run * Use the right check in the quality flow * Fix Norwegian translations that caused a `Typos` error
This commit is contained in:
parent
ce738f149b
commit
28b8b4539a
3 changed files with 23 additions and 6 deletions
|
|
@ -166,14 +166,17 @@ allprojects {
|
|||
// Register quality check tasks.
|
||||
tasks.register("runQualityChecks") {
|
||||
dependsOn(":tests:konsist:testDebugUnitTest")
|
||||
dependsOn(":app:lintGplayDebug")
|
||||
project.subprojects {
|
||||
// For some reason `findByName("lint")` doesn't work
|
||||
tasks.findByPath("$path:lint")?.let { dependsOn(it) }
|
||||
tasks.findByPath("$path:lintDebug")?.let { dependsOn(it) }
|
||||
tasks.findByName("detekt")?.let { dependsOn(it) }
|
||||
tasks.findByName("ktlintCheck")?.let { dependsOn(it) }
|
||||
// tasks.findByName("buildHealth")?.let { dependsOn(it) }
|
||||
}
|
||||
dependsOn(":app:knitCheck")
|
||||
|
||||
// Make sure all checks run even if some fail
|
||||
gradle.startParameter.isContinueOnFailure = true
|
||||
}
|
||||
|
||||
// Make sure to delete old screenshots before recording new ones
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue