Files
firefox/taskcluster/ci/source-test/python-tests.yml
T
Gregory Szorc d5a53c35e8 Bug 1330837 - Use Mercurial 4.1 in mozharness tests; r=aki
Automation is now largely using Mercurial 4.1 with some lagging
components still on 3.9 and a very small sliver of random parts
still on 3.7.3. Let's update the mozharness tests to match what
automation is using.

FWIW, the Mercurial tests still pass on 3.9.

MozReview-Commit-ID: BgZVDcx29mf
2017-04-11 14:26:29 -07:00

136 lines
3.5 KiB
YAML

taskgraph-tests:
description: taskcluster/taskgraph unit tests
platform: linux64/opt
treeherder:
symbol: py(tg)
kind: test
tier: 2
worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
worker:
implementation: docker-worker
docker-image: {in-tree: "lint"}
max-run-time: 1800
run:
using: mach
mach: taskgraph python-tests
run-on-projects:
- integration
- release
when:
files-changed:
- 'taskcluster/**/*.py'
- 'config/mozunit.py'
- 'python/mach/**/*.py'
marionette-harness:
description: testing/marionette/harness unit tests
platform: linux64/opt
treeherder:
symbol: py(mnh)
kind: test
tier: 2
worker-type:
by-platform:
linux64.*: aws-provisioner-v1/gecko-t-linux-xlarge
worker:
by-platform:
linux64.*:
implementation: docker-worker
docker-image: {in-tree: "lint"}
max-run-time: 3600
run:
using: mach
mach: python-test --subsuite marionette-harness
run-on-projects:
- integration
- release
when:
files-changed:
- 'testing/marionette/harness/**'
- 'testing/mozbase/mozlog/mozlog/**'
- 'testing/mozbase/mozlog/setup.py'
- 'testing/mozbase/packages.txt'
- 'python/mach_commands.py'
mozbase:
description: testing/mozbase unit tests
platform:
- linux64/opt
treeherder:
symbol: py(mb)
kind: test
tier: 2
worker-type:
by-platform:
linux64.*: aws-provisioner-v1/gecko-t-linux-xlarge
worker:
by-platform:
linux64.*:
implementation: docker-worker
docker-image: {in-tree: "lint"}
max-run-time: 3600
run:
using: mach
mach: python-test --subsuite mozbase
run-on-projects:
- integration
- release
when:
files-changed:
- 'testing/mozbase/**'
- 'config/mozunit.py'
- 'python/mach_commands.py'
mozharness:
description: mozharness integration tests
platform: lint/opt
treeherder:
symbol: py(MH)
kind: test
tier: 2
worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
worker:
implementation: docker-worker
docker-image: {in-tree: "lint"}
max-run-time: 1800
run:
using: run-task
cache-dotcache: true
command: >
cd /home/worker/checkouts/gecko/testing/mozharness &&
/usr/bin/pip2 install tox &&
/home/worker/.local/bin/tox -e py27-hg4.1
run-on-projects:
- integration
- release
when:
files-changed:
- 'testing/mozharness/**'
mozlint:
description: python/mozlint unit tests
platform: linux64/opt
treeherder:
symbol: py(ml)
kind: test
tier: 2
worker-type:
by-platform:
linux64.*: aws-provisioner-v1/gecko-t-linux-xlarge
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'