2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00
iceraven-browser/taskcluster/ci/test/kind.yml
2019-10-17 10:06:08 +02:00

72 lines
2.2 KiB
YAML

# 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:
- fenix_taskgraph.transforms.test:transforms
- taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms
job-defaults:
description: Test Fenix
include-pull-request-number: false
run:
using: gradlew
use-caches: false
treeherder:
kind: test
tier: 2
worker-type: b-android
worker:
docker-image: {in-tree: base}
max-run-time: 7200
jobs:
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
ui:
attributes:
build-type: debug
code-review: true
include-pull-request-number: true
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
treeherder:
symbol: ui
platform: 'ui-test/opt'
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