mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Move Konsist tests to quality checks (#2558)
* Move `Konsist` tests to quality checks This should also help us avoid running them for every single test task, including Kover. * Fix upload report path filter
This commit is contained in:
committed by
GitHub
parent
810c0ed8f3
commit
57e6db8144
@@ -33,9 +33,11 @@ dependencies {
|
||||
testImplementation(projects.libraries.designsystem)
|
||||
}
|
||||
|
||||
// Make sure Konsist tests are always run. This is needed because otherwise we'd have to either:
|
||||
// Make sure Konsist tests run for 'check' tasks. This is needed because otherwise we'd have to either:
|
||||
// - Add every single module as a dependency of this one.
|
||||
// - Move the Konsist tests to the `app` module, but the `app` module does not need to know about Konsist.
|
||||
tasks.withType<Test>().configureEach {
|
||||
outputs.upToDateWhen { false }
|
||||
outputs.upToDateWhen {
|
||||
gradle.startParameter.taskNames.any { it.contains("check", ignoreCase = true).not() }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user