Skip to content

Commit

Permalink
Skip coverage check when Predictive Test Selection is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Jun 17, 2024
1 parent 3429ed1 commit 33ca15e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ val classesView = configurations["aggregateCodeCoverageReportResults"].incoming.
tasks {
val reportTask = named<JacocoReport>(jacocoRootReport.reportTask.name)
val jacocoRootCoverageVerification by registering(JacocoCoverageVerification::class) {
enabled = !buildParameters.junit.develocity.predictiveTestSelection.enabled
executionData.from(reportTask.map { it.executionData })
classDirectories.from(reportTask.map { it.classDirectories })
sourceDirectories.from(reportTask.map { it.sourceDirectories })
Expand Down

0 comments on commit 33ca15e

Please sign in to comment.