Closed viciousAegis closed 2 years ago
I don't reproduce this, fully up to date with master as I type this comment, this was the test:
./gradlew --stop && ./gradlew clean jacocoTestReport :api:lintRelease :AnkiDroid:lintPlayRelease ktlintCheck
(that's what we run in CI)
Oh okay, I see. I was running ./gradlew lint
as I had read that up on the Android Studio docs. Maybe this info could be added to the development guide?
Sure - I would put a reference in there to the .github/workflows directory with an indication that is the "source of truth" for how we actually expect to run things, but then provide the actual command as that's helpful in the moment
Underlying issue: Our current lint run doesn't apply lint over androidTest
Reproduction Steps
Not sure if this is a problem with my local repo, or the remote one; so posting here
Expected Result
Check gets completed with no building errors, and all the lint issues are displayed
Actual Result
While lint issues are displayed (not sure if all of them are), the following error arises in the Terminal for me:
android { lint { baseline = file("lint-baseline.xml") } }
On checking the
Inspect Code
Output for lint errors:Debug info
Research
Enter an [x] character to confirm the points below: