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

For #4507 Enable codecov on PRs #4520

Merged
merged 1 commit into from
Aug 9, 2019

Conversation

colintheshots
Copy link
Contributor

@colintheshots colintheshots commented Aug 2, 2019

I'm testing for a bit. Don't land this until I remove the label.

@colintheshots colintheshots requested review from a team as code owners August 2, 2019 20:14
@colintheshots colintheshots changed the title For #4507 Enable codecov For #4507 Enable codecov Aug 5, 2019
@colintheshots colintheshots changed the title For #4507 Enable codecov For #4507 Enable codecov Aug 5, 2019
@colintheshots colintheshots changed the title For #4507 Enable codecov For #4507 Enable codecov Aug 5, 2019
@colintheshots colintheshots changed the title For #4507 Enable codecov For #4507 Enable codecov :+1 Aug 5, 2019
@colintheshots colintheshots changed the title For #4507 Enable codecov :+1 For #4507 Enable codecov (testing) Aug 5, 2019
@colintheshots colintheshots changed the title For #4507 Enable codecov (testing) For #4507 Enable codecov on PRs Aug 6, 2019
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.

Looks pretty good, though I'm 🤔 on running code coverage on release builds.
Regarding secret management, I can add permissions for project/mobile/fenix/debug, we can land this, then I can do some follow-up work to group PR secrets together afterwards. That way, we can land your changes here. What do you think?

automation/taskcluster/lib/tasks.py Outdated Show resolved Hide resolved
automation/taskcluster/lib/tasks.py Outdated Show resolved Hide resolved
automation/taskcluster/lib/tasks.py Outdated Show resolved Hide resolved
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.

Looks good! I'll set up permissions

automation/taskcluster/upload_coverage_report.sh Outdated Show resolved Hide resolved
def craft_assemble_pr_task(self, variant, run_coverage=False):
coverage_flag = '-Pcoverage ' if run_coverage else ''
assemble_gradle_command = ('{} assemble{}'.format(coverage_flag, variant.for_gradle_command),)
post_gradle_command = ('automation/taskcluster/upload_coverage_report.sh' if run_coverage else '',)
Copy link
Contributor

Choose a reason for hiding this comment

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

Understanding the order of operations here is a little tough, but I don't want to block your PR - I can take a look when I update the nimbledroid secret

@colintheshots colintheshots changed the title For #4507 Enable codecov on PRs For #4507 Enable codecov on PRs Aug 7, 2019
@mitchhentges
Copy link
Contributor

I've landed the permissions patch and I'm just getting it applied atm

@mitchhentges
Copy link
Contributor

The permissions patch is landed and applied, and you can verify that by seeing the fenix:pull-request role

@colintheshots colintheshots changed the title For #4507 Enable codecov on PRs For #4507 Enable codecov on PRs Aug 8, 2019
@colintheshots colintheshots changed the title For #4507 Enable codecov on PRs For #4507 Enable codecov on PRs Aug 8, 2019
@codecov-io
Copy link

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff            @@
##             master   #4520   +/-   ##
========================================
  Coverage          ?    6.4%           
  Complexity        ?     127           
========================================
  Files             ?     200           
  Lines             ?    8442           
  Branches          ?    1194           
========================================
  Hits              ?     541           
  Misses            ?    7858           
  Partials          ?      43

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 63d50d9...6b02e6f. Read the comment docs.

@colintheshots colintheshots merged commit 71c4869 into mozilla-mobile:master Aug 9, 2019
@colintheshots colintheshots deleted the codecov branch August 9, 2019 00:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants