2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-11 13:11:01 +00:00

Run UI tests on PRs (#5011)

This commit is contained in:
Johan Lorenzo 2019-09-16 18:51:49 +02:00 committed by GitHub
parent b8539ccb33
commit b35a1fa6a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,7 @@ def pr(builder):
builder.craft_ktlint_task,
builder.craft_lint_task,
builder.craft_compare_locales_task,
builder.craft_ui_tests_task,
):
tasks.append(craft_function())
@ -46,12 +47,9 @@ def pr(builder):
return tasks
def push(builder):
all_tasks = pr(builder)
all_tasks.append(builder.craft_ui_tests_task())
return all_tasks
def push():
# We want the same tasks on pushes than on PRs, for now.
return pr()
def raptor(builder, is_staging):
mozharness_task_id = fetch_mozharness_task_id()