Bug 1681991 - Do not run ui-tests against debug builds on release branches (#16981)

upstream-sync
Johan Lorenzo 3 years ago committed by GitHub
parent 04bd9c61a6
commit e3c77bec25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,7 +8,7 @@ tasks:
- $let:
taskgraph:
branch: taskgraph
revision: 2b2622598df02bde211d8cedb334b7b22fb883a4
revision: a458418ef7cdd6778f1283926c6116966255bc24
trustDomain: mobile
in:
$let:

@ -49,6 +49,7 @@ jobs:
x86-debug:
description: Test Fenix
run-on-tasks-for: [github-pull-request, github-push]
run-on-git-branches: [master]
run:
commands:
- [automation/taskcluster/androidTest/ui-test.sh, x86, app.apk, android-test.apk, '50']
@ -59,6 +60,7 @@ jobs:
screenshots: true
description: Run UI screenshots tests to keep them up to date
run-on-tasks-for: []
run-on-git-branches: [master]
run:
commands:
- [automation/taskcluster/androidTest/ui-test.sh, x86-screenshots-tests, app.apk, android-test.apk, '-1']

@ -4,16 +4,7 @@
from __future__ import absolute_import, print_function, unicode_literals
from taskgraph.target_tasks import _target_task, filter_for_tasks_for
@_target_task('default')
def target_tasks_default(full_task_graph, parameters, graph_config):
"""Target the tasks which have indicated they should be run on this project
via the `run_on_projects` attributes."""
filter = filter_for_tasks_for
return [l for l, t in full_task_graph.tasks.iteritems() if filter_for_tasks_for(t, parameters)]
from taskgraph.target_tasks import _target_task
@_target_task('release')

Loading…
Cancel
Save