kind.yml 1.61 KB
Newer Older
1
2
3
4
5
6
7
# 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:
Johan Lorenzo's avatar
Johan Lorenzo committed
8
    - fenix_taskgraph.transforms.test:transforms
9
10
11
    - taskgraph.transforms.job:transforms
    - taskgraph.transforms.task:transforms

12
13
14
15
kind-dependencies:
    - toolchain


16
job-defaults:
17
18
    attributes:
        retrigger: true
19
20
21
22
23
    description: Test Fenix
    fetches:
        toolchain:
            - android-sdk-linux
    include-pull-request-number: false
Johan Lorenzo's avatar
Johan Lorenzo committed
24
25
26
    run:
        using: gradlew
        use-caches: false
27
28
29
30
31
    treeherder:
        kind: test
        tier: 2
    worker-type: b-android
    worker:
32
        docker-image: {in-tree: base}
33
34
35
        max-run-time: 7200

jobs:
36
37
38
39
40
41
42
43
44
45
46
47
48
    debug:
        attributes:
            build-type: debug
            geckoview-engine: geckoNightly
            code-review: true
        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
49
50
51
52
        treeherder:
            platform: 'android-all/opt'
            symbol: debug(T)
            tier: 1
53
54
55
56
57
        worker:
            artifacts:
                - name: public/reports/index.html
                  path: /builds/worker/checkouts/src/app/build/reports/tests/testGeckoNightlyDebugUnitTest/index.html
                  type: file