Uploaded image for project: 'Platform'
  1. Platform
  2. PLAT-77

Set up Sonar to run against openmrs-core PRs

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Needs Assessment
    • Priority: Must
    • Resolution: Unresolved
    • Component/s: Quality Assurance (QA)
    • Labels:
      None
    • Complexity:
      Medium
    • Development:

      Description

      Sonar has already been running against OpenMRS repos but we don't have a habit of looking at it or using it regularly to check PRs: https://sonar.openmrs.org/dashboard?id=org.openmrs%3Aopenmrs 

      Task: Set up Sonar to running against every PR on every Java project starting with omrs-core.

      But: We don't want a situation where the test is broken all the time from the start, as people could get used to ignoring it, and then there's no point in having it in our GitHub PR process. So please adjust the severity of failures so people don’t get used to ignoring it, e.g. fix major issues reported; whereas random/low severity failures could be ignored.

      Let's see how it goes with omrs-core and then we can also add Sonar to our major modules. 

      e.g.: 

      https://www.sonarqube.org/github-integration/?gads_campaign=North-America-SonarQube&gads_ad_group=SQ-GitHub&gads_keyword=sonar%20github&gclid=Cj0KCQjwvO2IBhCzARIsALw3ASojES3I_PjyfvJ3tH6l6NZdgdA3dEJJJpzi5f_WJR_GxtwNj6kkz1gaAmBVEALw_wcB 

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                grace Grace Potma
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated: