exclude acceptance tests from coverage metrics (#2942)

Signed-off-by: Justin Florentine <justin+github@florentine.us>
pull/2979/head
Justin Florentine 3 years ago committed by GitHub
parent efee280f83
commit 1959043af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      build.gradle

@ -793,7 +793,9 @@ task checkSpdxHeader(type: CheckSpdxHeader) {
task jacocoRootReport(type: org.gradle.testing.jacoco.tasks.JacocoReport) {
additionalSourceDirs.from files(subprojects.sourceSets.main.allSource.srcDirs)
sourceDirectories.from files(subprojects.sourceSets.main.allSource.srcDirs)
classDirectories.from files(subprojects.sourceSets.main.output)
classDirectories.from files(subprojects.sourceSets.main.output).asFileTree.matching {
exclude 'org/hyperledger/besu/tests/acceptance/**'
}
executionData.from fileTree(dir: '.', includes: ['**/jacoco/*.exec'])
reports {
xml.required = true

Loading…
Cancel
Save