Skip to content

Commit

Permalink
Fix unit tests CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaslogen committed Jan 12, 2024
1 parent 45733d2 commit d6b7109
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ plugins {
val sampleModuleName = "sample"

apiValidation {
if (System.getenv("JITPACK") == null && System.getenv("CI_FLOW") == null ) {
val ci = System.getenv("CI_FLOW")
if (ci == null || !ci.contains("Maven")) { // This block is only applicable on build that include the sample app
println("ApiValidation is being ignored for module $sampleModuleName in local builds")
// This block is only applicable on local builds
ignoredProjects.addAll(listOf(sampleModuleName))
}
}
Expand Down

0 comments on commit d6b7109

Please sign in to comment.