Skip to content

Commit

Permalink
Make sure Konsist tests always run (#1590)
Browse files Browse the repository at this point in the history
* Make sure Konsist tests always run

* Update tests/konsist/build.gradle.kts

Co-authored-by: Benoit Marty <[email protected]>

---------

Co-authored-by: Benoit Marty <[email protected]>
  • Loading branch information
jmartinesp and bmarty authored Oct 18, 2023
1 parent c4bbc4e commit e5a8fd9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/konsist/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,10 @@ dependencies {
testImplementation(projects.libraries.architecture)
testImplementation(projects.libraries.designsystem)
}

// Make sure Konsist tests are always run. 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 }
}

0 comments on commit e5a8fd9

Please sign in to comment.