feat: Suppress SonarQube warnings for ZobristHash and PolyglotBook and improve coverage configuration
Build & Test (NowChessSystems) TeamCity build failed
Build & Test (NowChessSystems) TeamCity build failed
This commit is contained in:
@@ -22,20 +22,6 @@ sonar {
|
||||
}.joinToString(",")
|
||||
|
||||
property("sonar.scala.coverage.reportPaths", scoverageReports)
|
||||
property(
|
||||
"sonar.issue.ignore.multicriteria",
|
||||
"bot-zobrist-s2245,bot-polyglot-s2245"
|
||||
)
|
||||
property("sonar.issue.ignore.multicriteria.bot-zobrist-s2245.ruleKey", "scala:S2245")
|
||||
property(
|
||||
"sonar.issue.ignore.multicriteria.bot-zobrist-s2245.resourceKey",
|
||||
"modules/bot/src/main/scala/de/nowchess/bot/util/ZobristHash.scala"
|
||||
)
|
||||
property("sonar.issue.ignore.multicriteria.bot-polyglot-s2245.ruleKey", "scala:S2245")
|
||||
property(
|
||||
"sonar.issue.ignore.multicriteria.bot-polyglot-s2245.resourceKey",
|
||||
"modules/bot/src/main/scala/de/nowchess/bot/util/PolyglotBook.scala"
|
||||
)
|
||||
property(
|
||||
"sonar.coverage.exclusions",
|
||||
// UI renders JavaFX components; headless test environments cannot exercise rendering paths
|
||||
|
||||
Reference in New Issue
Block a user