* For #4897: Add back accidentally removed code coverage upload * Make code coverage commands clearer * Inline run_coverage as True * Update arch label for codecov upload * Remove variants from codecov, as they aren't used * Remove unused format stringmaster
parent
eccd6a1bc5
commit
eae97034e3
|
@ -142,11 +142,14 @@ class TaskBuilder(object):
|
|||
)
|
||||
|
||||
def craft_test_pr_task(self, variant):
|
||||
command = 'test{}UnitTest'.format(variant.name)
|
||||
# upload coverage only once, if the variant is arm64
|
||||
test_gradle_command = \
|
||||
'-Pcoverage jacocoGeckoNightlyDebugTestReport && automation/taskcluster/upload_coverage_report.sh'
|
||||
|
||||
return self._craft_clean_gradle_task(
|
||||
name='test: {}'.format(variant.name),
|
||||
description='Building and testing variant {}'.format(variant.name),
|
||||
gradle_task=command,
|
||||
gradle_task=test_gradle_command,
|
||||
treeherder={
|
||||
'groupSymbol': variant.build_type,
|
||||
'jobKind': 'test',
|
||||
|
|
Loading…
Reference in New Issue