Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

For #4897: Add back accidentally removed code coverage upload #4958

Merged
merged 6 commits into from
Aug 27, 2019

Conversation

colintheshots
Copy link
Contributor

Code coverage upload was accidentally removed with the changes to Nightly builds.

Pull Request checklist

  • Quality: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Accessibility: The code in this PR follows accessibility best practices or does not include any user facing features

Copy link
Contributor

@mitchhentges mitchhentges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this back!

@@ -141,8 +141,23 @@ def craft_assemble_pr_task(self, variant):
}
)

def craft_test_pr_task(self, variant):
command = 'test{}UnitTest'.format(variant.name)
def craft_test_pr_task(self, variant, run_coverage=True):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If run_coverage always has the same value (True, I believe) I'd recommend inlining it

Copy link
Contributor

@mitchhentges mitchhentges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 beautiful, thanks!

@codecov-io
Copy link

codecov-io commented Aug 27, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@eccd6a1). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##             master   #4958   +/-   ##
========================================
  Coverage          ?   8.08%           
  Complexity        ?     176           
========================================
  Files             ?     222           
  Lines             ?    9017           
  Branches          ?    1321           
========================================
  Hits              ?     729           
  Misses            ?    8236           
  Partials          ?      52

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eccd6a1...d872285. Read the comment docs.

@colintheshots colintheshots merged commit eae9703 into mozilla-mobile:master Aug 27, 2019
@colintheshots colintheshots deleted the fix4897 branch August 27, 2019 20:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants