Bug 1340162 - Add task for running mozlint unitttests on Linux (and pull old tests out of make check), r?smacleod
MozReview-Commit-ID: 3XCWMJtQMvZ
--- a/python/mozlint/test/python.ini
+++ b/python/mozlint/test/python.ini
@@ -1,4 +1,7 @@
+[DEFAULT]
+subsuite = mozlint, os == "linux"
+
[test_formatters.py]
[test_parser.py]
[test_roller.py]
[test_types.py]
--- a/taskcluster/ci/source-check/python-tests.yml
+++ b/taskcluster/ci/source-check/python-tests.yml
@@ -71,8 +71,36 @@ mozharness/opt:
/usr/bin/pip2 install tox &&
/home/worker/.local/bin/tox -e py27-hg3.7
run-on-projects:
- integration
- release
when:
files-changed:
- 'testing/mozharness/**'
+
+mozlint/opt:
+ description: python/mozlint unit tests
+ platforms:
+ - linux64/opt
+ treeherder:
+ symbol: py(ml)
+ kind: test
+ tier: 2
+ worker-type:
+ by-platform:
+ linux64.*: aws-provisioner-v1/b2gtest
+ worker:
+ by-platform:
+ linux64.*:
+ implementation: docker-worker
+ docker-image: {in-tree: "lint"}
+ max-run-time: 3600
+ run:
+ using: mach
+ mach: python-test --subsuite mozlint
+ run-on-projects:
+ - integration
+ - release
+ when:
+ files-changed:
+ - 'python/mozlint/**'
+ - 'python/mach_commands.py'