Use XVFB on Linux CI, allows running the client prod tasks on a headless OS (#1243)

This commit is contained in:
modmuss
2025-01-02 20:35:00 +00:00
committed by GitHub
parent 8b6658c559
commit 52a19b3bf7
3 changed files with 53 additions and 3 deletions

View File

@@ -270,6 +270,11 @@ test {
maxRetries = 3
}
}
testLogging {
// Log everything to the console
setEvents(TestLogEvent.values().toList())
}
}
// Workaround https://github.com/gradle/gradle/issues/25898
@@ -283,7 +288,7 @@ tasks.withType(Test).configureEach {
}
import org.gradle.api.internal.artifacts.configurations.ConfigurationRoles
import org.gradle.api.tasks.testing.logging.TestLogEvent
import org.gradle.util.GradleVersion
import org.w3c.dom.Document
import org.w3c.dom.Element