Skip to content

Commit f2c0d95

Browse files
committed
TEMPORARY: Run the bug fix agent image slow, full build and Android tests on pull requests too
1 parent 54d41b9 commit f2c0d95

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

‎.taskcluster.yml‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,9 @@ tasks:
358358
# Bootstraps a Firefox checkout, makes an artifact build and runs tests in
359359
# it. This mostly breaks because of changes in Firefox, so it runs after
360360
# merges rather than on every pull request.
361-
- $if: 'tasks_for == "github-push" && head_branch == "refs/heads/master"'
361+
# TEMPORARY: also on pull requests, to verify it on this PR. Drop the
362+
# pull request condition before merging.
363+
- $if: '(tasks_for == "github-push" && head_branch == "refs/heads/master") || tasks_for[:19] == "github-pull-request"'
362364
then:
363365
$mergeDeep:
364366
- { $eval: default_task_definition }
@@ -391,7 +393,9 @@ tasks:
391393

392394
# Like the slow tests, but a full build with the agent's own mozconfig, as
393395
# the agent makes. It takes hours, so a failure is not retried.
394-
- $if: 'tasks_for == "github-push" && head_branch == "refs/heads/master"'
396+
# TEMPORARY: also on pull requests, to verify it on this PR. Drop the
397+
# pull request condition before merging.
398+
- $if: '(tasks_for == "github-push" && head_branch == "refs/heads/master") || tasks_for[:19] == "github-pull-request"'
395399
then:
396400
$mergeDeep:
397401
- { $eval: default_task_definition }
@@ -426,7 +430,9 @@ tasks:
426430

427431
# Bootstraps a Firefox checkout for Android, makes an artifact build and
428432
# runs tests in it. Like the other slow tests, after merges.
429-
- $if: 'tasks_for == "github-push" && head_branch == "refs/heads/master"'
433+
# TEMPORARY: also on pull requests, to verify it on this PR. Drop the
434+
# pull request condition before merging.
435+
- $if: '(tasks_for == "github-push" && head_branch == "refs/heads/master") || tasks_for[:19] == "github-pull-request"'
430436
then:
431437
$mergeDeep:
432438
- { $eval: default_task_definition }

0 commit comments

Comments
 (0)