Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5633

Evergreen: avoid running static checks when executing kotlin tests

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 5.3.0
    • Affects Version/s: None
    • Component/s: Kotlin
    • None
    • Java Drivers
    • Not Needed

      It seems that static analysis tools like Spotless and SpotBugs are currently being run as part of the kotlin-tests task. This causes the task to fail even when all tests pass if, for example, a checkstyle issue occurs, which can be a bit confusing.

      We should separate static analysis from the test tasks to avoid redundancy and potential confusion. This way, failing tests and static analysis issues would be handled independently.

      We should also use --continue to that all the tests run, even if one of the test tasks fails.
       

            Assignee:
            nabil.hachicha@mongodb.com Nabil Hachicha
            Reporter:
            nabil.hachicha@mongodb.com Nabil Hachicha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: