CI test fix (#280)

Addresses OOM in CI
This commit is contained in:
Banks T
2021-08-31 23:27:51 -04:00
committed by GitHub
parent 9dc5481d1c
commit 9cf5c77d69
9 changed files with 115 additions and 102 deletions

View File

@@ -53,12 +53,14 @@ test {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
}
workingDir = new File("${rootDir}")
}
task testHeadless(type: Test) {
group = "verification"
systemProperty("java.awt.headless", "true")
useJUnitPlatform()
exclude '**/*BenchmarkTest*'
}
task generateJavaDocs(type: Javadoc) {
@@ -68,7 +70,7 @@ task generateJavaDocs(type: Javadoc) {
}
jacocoTestReport {
dependsOn test // Tests are required to run before generating the report
// dependsOn testHeadless // Tests are required to run before generating the report
reports {
xml.enabled true