taskcluster/ci/test/tests.yml
author Geoff Lankow <geoff@darktrojan.net>
Wed, 17 Apr 2019 11:28:18 +1200
changeset 26368 ba19d555448a897faabb1ed7d9e374e7015d5fb4
parent 26217 f6ba2c0ae191ac30555d4a1cc61172dcd1590afa
child 26391 df2d531ed9fb024da30b539be3c74d72a102958a
permissions -rw-r--r--
Bug 1544972 - Update list of files that trigger builds and tests. r=rjl

# Each stanza here describes a particular test suite or sub-suite.  These are
# processed through the transformations described in kind.yml to produce a
# bunch of tasks.  See the schema in `taskcluster/taskgraph/transforms/tests.py`
# for a description of the fields used here.

# Note that these are in lexical order, as enforced by the task loader.

# Adding a new test type or running tests on a new platform? Be sure to review
# https://wiki.mozilla.org/Sheriffing/Job_Visibility_Policy
job-defaults:
    when:
        files-changed:
            # Include everything in comm-central except suite/
            # https://bugzilla.mozilla.org/show_bug.cgi?id=1422060
            - comm/build
            - comm/calendar
            - comm/chat
            - comm/common
            - comm/db
            - comm/editor
            - comm/ldap
            - comm/mail
            - comm/mailnews
            - comm/mozharness
            - comm/other-licenses
            - comm/rdf
            - comm/taskcluster
            - comm/testing
            - comm/.gecko_rev.yml
            - comm/.taskcluster.yml
            - comm/moz.build

xpcshell:
    description: "xpcshell test run"
    suite: xpcshell
    treeherder-symbol: X(X)
    run-on-projects: built-projects
    docker-image:
        in-tree: "desktop1604-test"
    chunks:
        by-test-platform:
            linux32/debug: 8
            linux64/debug: 8
            default: 4
    instance-size: default
    max-run-time: 5400
    e10s: false
    allow-software-gl-layers: false
    mozharness:
        script: desktop_unittest.py
        config:
            by-test-platform:
                windows.*:
                    - unittests/win_unittest.py
                    - unittests/thunderbird_extra.py
                macosx64.*:
                    - unittests/mac_unittest.py
                    - unittests/thunderbird_extra.py
                linux.*:
                    - unittests/linux_unittest.py
                    - remove_executables.py
                    - unittests/thunderbird_extra.py
        extra-options:
            - "--xpcshell-suite=xpcshell"
        requires-signed-builds:
            by-test-platform:
                windows.*: true
                default: false
    fetches:
        build:
            - gdata-provider.en-US.xpi

mozmill:
    description: "mozmill test run"
    suite: mozmill
    treeherder-symbol: Z(Z)
    run-on-projects: built-projects
    docker-image:
        in-tree: "desktop1604-test"
    chunks:
        by-test-platform:
            linux32/debug: 8
            linux64/debug: 8
            default: 4
    instance-size: default
    max-run-time: 5400
    e10s: false
    allow-software-gl-layers: false
    mozharness:
        script: desktop_unittest.py
        config:
            by-test-platform:
                windows.*:
                    - unittests/win_unittest.py
                    - unittests/thunderbird_extra.py
                macosx64.*:
                    - unittests/mac_unittest.py
                    - unittests/thunderbird_extra.py
                linux.*:
                    - unittests/linux_unittest.py
                    - remove_executables.py
                    - unittests/thunderbird_extra.py
        extra-options:
            - "--mozmill-suite=mozmill"
        requires-signed-builds: false

mochitest-thunderbird:
    description: "Mochitest browser-chrome-thunderbird run"
    suite: mochitest/browser-chrome-thunderbird
    treeherder-symbol: M(bct)
    run-on-projects: built-projects
    loopback-video: true
    max-run-time: 3600
    e10s: false
    serviceworker-e10s: false
    mozharness:
        script: desktop_unittest.py
        mochitest-flavor: browser
        config:
            by-test-platform:
                windows.*:
                    - unittests/win_unittest.py
                    - unittests/thunderbird_extra.py
                macosx64.*:
                    - unittests/mac_unittest.py
                    - unittests/thunderbird_extra.py
                linux.*:
                    - unittests/linux_unittest.py
                    - remove_executables.py
                    - unittests/thunderbird_extra.py
    instance-size: default
    allow-software-gl-layers: false