summaryrefslogtreecommitdiffstats
path: root/comm/taskcluster/ci/source-test/python.yml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/taskcluster/ci/source-test/python.yml')
-rw-r--r--comm/taskcluster/ci/source-test/python.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/comm/taskcluster/ci/source-test/python.yml b/comm/taskcluster/ci/source-test/python.yml
new file mode 100644
index 0000000000..b3ffc9bc32
--- /dev/null
+++ b/comm/taskcluster/ci/source-test/python.yml
@@ -0,0 +1,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"