2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

[fenix] Bug 1681991 - Do not run ui-tests against debug builds on release branches (https://github.com/mozilla-mobile/fenix/pull/16981)

This commit is contained in:
Johan Lorenzo 2020-12-16 15:37:22 +01:00 committed by GitHub
parent d75514d6fa
commit 0dc9caa20f
3 changed files with 4 additions and 11 deletions

View File

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

View File

@ -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']

View File

@ -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')