2019-09-23 11:42:36 +00:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
---
|
|
|
|
loader: taskgraph.loader.transform:loader
|
|
|
|
|
|
|
|
transforms:
|
|
|
|
- taskgraph.transforms.job:transforms
|
|
|
|
- taskgraph.transforms.task:transforms
|
|
|
|
|
|
|
|
job-defaults:
|
|
|
|
description: Test Reference Browser
|
|
|
|
treeherder:
|
|
|
|
kind: test
|
|
|
|
tier: 2
|
|
|
|
worker-type: b-android
|
|
|
|
worker:
|
2019-09-24 10:52:05 +00:00
|
|
|
docker-image: {in-tree: base}
|
2019-09-23 11:42:36 +00:00
|
|
|
max-run-time: 7200
|
|
|
|
run:
|
|
|
|
using: gradlew
|
|
|
|
use-caches: false
|
|
|
|
|
|
|
|
jobs:
|
2019-09-24 10:52:05 +00:00
|
|
|
debug:
|
|
|
|
attributes:
|
|
|
|
build-type: debug
|
|
|
|
geckoview-engine: geckoNightly
|
|
|
|
code-review: true
|
|
|
|
treeherder:
|
|
|
|
platform: 'android-all/opt'
|
|
|
|
symbol: debug(T)
|
|
|
|
tier: 1
|
|
|
|
run:
|
|
|
|
gradlew: ['clean', '-Pcoverage', 'jacocoGeckoNightlyDebugTestReport']
|
|
|
|
post-gradlew:
|
|
|
|
- ['automation/taskcluster/upload_coverage_report.sh']
|
|
|
|
secrets:
|
|
|
|
- name: project/mobile/fenix/public-tokens
|
|
|
|
key: codecov
|
|
|
|
path: .cc_token
|
2019-09-23 11:42:36 +00:00
|
|
|
ui:
|
|
|
|
attributes:
|
|
|
|
build-type: debug
|
|
|
|
code-review: true
|
|
|
|
treeherder:
|
|
|
|
symbol: ui
|
|
|
|
platform: 'ui-test/opt'
|
|
|
|
run-on-tasks-for: [github-pull-request, github-push]
|
|
|
|
run:
|
|
|
|
# TODO Generate APKs in a build task instead
|
|
|
|
gradlew: ['clean', 'assembleDebug', 'assembleAndroidTest']
|
|
|
|
post-gradlew:
|
|
|
|
- ['automation/taskcluster/androidTest/ui-test.sh', 'x86', '-1']
|
|
|
|
secrets:
|
|
|
|
- name: project/mobile/fenix/firebase
|
|
|
|
key: firebaseToken
|
|
|
|
path: .firebase_token.json
|
|
|
|
json: true
|
|
|
|
worker:
|
|
|
|
docker-image: {in-tree: ui-tests}
|
|
|
|
env:
|
|
|
|
GOOGLE_APPLICATION_CREDENTIALS: '.firebase_token.json'
|
|
|
|
GOOGLE_PROJECT: moz-fenix
|
|
|
|
artifacts:
|
|
|
|
- name: public
|
|
|
|
path: /build/fenix/results
|
|
|
|
type: directory
|