Skip to content

Commit

Permalink
Bug 1681991 - Do not run ui-tests against debug builds on release bra…
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanLorenzo committed Dec 16, 2020
1 parent 04bd9c6 commit e3c77be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- $let:
taskgraph:
branch: taskgraph
revision: 2b2622598df02bde211d8cedb334b7b22fb883a4
revision: a458418ef7cdd6778f1283926c6116966255bc24
trustDomain: mobile
in:
$let:
Expand Down
2 changes: 2 additions & 0 deletions taskcluster/ci/ui-test/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand All @@ -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']
Expand Down
11 changes: 1 addition & 10 deletions taskcluster/fenix_taskgraph/target_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit e3c77be

Please sign in to comment.