summaryrefslogtreecommitdiffstats
path: root/comm/taskcluster/ci/source-test/python.yml
blob: b3ffc9bc32fa75163f648497906a7cccfc487090 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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/.
---
job-defaults:
    platform: linux1804-64/opt
    always-target: true
    worker-type: t-linux-xlarge-source
    worker:
        # A build image instead of the lint image m-c uses, because of the
        # comm-checkout requirement.
        docker-image: {in-tree: "debian11-amd64-build"}
        max-run-time: 3600
        env:
            MOZCONFIG: comm/mail/config/mozconfigs/linux64/source
    treeherder:
        kind: test
        tier: 1
    run:
        comm-checkout: true

comm_taskgraph-tests:
    description: taskcluster/taskgraph unit tests
    treeherder:
        symbol: py(ctg)
    run:
        using: run-task
        cwd: "{checkout}"
        command: >
            ./mach configure &&
            ./mach python-test --subsuite comm_taskgraph
    optimization:
        skip-unless-changed-no-suite:
            - "taskcluster/**/*.py"
            - "comm/taskcluster/**/*.py"