0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00

chore(lint): cleanup CI output on failure

'WrongThread' output 100+ lines of 'Information' which obscured the
error

Remove these in CI

Fixes 14853
This commit is contained in:
David Allison 2023-11-30 15:45:48 +00:00 committed by Mike Hardy
parent 6ff8871885
commit 2478135b20

View File

@ -11,5 +11,10 @@ android {
// To output the lint report to stdout set textReport=true, and leave textOutput unset. // To output the lint report to stdout set textReport=true, and leave textOutput unset.
textReport true textReport true
warningsAsErrors true warningsAsErrors true
if (System.getenv("CI") == "true") {
// 14853: we want this to appear in the IDE, but it adds noise to CI
disable += "WrongThread"
}
} }
} }