Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4801

Skip coverage check for PRs and in forks

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: build

      Description

      Currently coverage CI check:

      1. calculates combined test coverage
      2. uploads it to Sonar only for Apache Ozone repo and only for builds on push/schedule
      3. stores combined coverage in GitHub Actions artifact

      Thus for PR in Apache Ozone and for all builds in forks, it only stores coverage in the artifact. These expire in 30 days and I don't think anybody really checks them manually.

      I propose to completely skip coverage check for PRs and in forks, instead of only skipping upload to Sonar. This would save ~12 minutes for such builds.

        Attachments

          Activity

            People

            • Assignee:
              adoroszlai Attila Doroszlai
              Reporter:
              adoroszlai Attila Doroszlai

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment