Source code

Revision control

Other Tools

1
# This Source Code Form is subject to the terms of the Mozilla Public
2
# License, v. 2.0. If a copy of the MPL was not distributed with this
3
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
---
5
newtab-unit-tests:
6
description: newtab unit tests
7
platform: linux1804-64/opt
8
treeherder:
9
symbol: node(newtab)
10
kind: test
11
tier: 1
12
worker-type: t-linux-xlarge
13
worker:
14
docker-image: {in-tree: "ubuntu1804-test"}
15
max-run-time: 1800
16
require-build: true
17
run:
18
using: run-task
19
cache-dotcache: true
20
cwd: '{checkout}'
21
command: >
22
cd /builds/worker/checkouts/gecko/browser/components/newtab &&
23
npm install &&
24
node bin/try-runner.js
25
when:
26
files-changed:
27
- "browser/components/newtab/**"
28
29
debugger-tests:
30
description: devtools debugger unit tests and flow type checks
31
platform: linux1804-64/opt
32
attributes:
33
code-review: true
34
treeherder:
35
symbol: node(debugger)
36
kind: test
37
tier: 1
38
worker-type: t-linux-xlarge
39
worker:
40
docker-image: {in-tree: "lint"}
41
max-run-time: 1800
42
run:
43
using: run-task
44
cache-dotcache: true
45
cwd: '{checkout}'
46
command: >
47
npm install &&
48
cd devtools/client/debugger/ &&
49
yarn &&
50
node bin/try-runner.js
51
when:
52
files-changed:
53
- 'devtools/client/debugger/**'
54
55
devtools-tests:
56
description: devtools node-based tests (for instance jest)
57
platform: linux1804-64/opt
58
treeherder:
59
symbol: node(devtools)
60
kind: test
61
tier: 1
62
worker-type: t-linux-xlarge
63
worker:
64
docker-image: {in-tree: "lint"}
65
max-run-time: 1800
66
run:
67
using: run-task
68
cache-dotcache: true
69
cwd: '{checkout}'
70
command: >
71
npm install &&
72
cd devtools/client/bin/ &&
73
node devtools-node-test-runner.js --suite=aboutdebugging &&
74
node devtools-node-test-runner.js --suite=accessibility &&
75
node devtools-node-test-runner.js --suite=application &&
76
node devtools-node-test-runner.js --suite=compatibility &&
77
node devtools-node-test-runner.js --suite=framework &&
78
node devtools-node-test-runner.js --suite=netmonitor &&
79
node devtools-node-test-runner.js --suite=webconsole
80
when:
81
files-changed:
82
- 'devtools/client/**'
83
- 'devtools/shared/**'
84
85
eslint-plugin-mozilla:
86
description: eslint-plugin-mozilla integration tests
87
platform: linux1804-64/opt
88
treeherder:
89
symbol: node(epm)
90
kind: test
91
tier: 1
92
worker-type: t-linux-xlarge
93
worker:
94
docker-image: {in-tree: "lint"}
95
max-run-time: 1800
96
run:
97
using: run-task
98
cache-dotcache: true
99
cwd: '{checkout}/tools/lint/eslint/eslint-plugin-mozilla'
100
command: >
101
cp -r /build/node_modules_eslint-plugin-mozilla node_modules &&
102
npm run test
103
when:
104
files-changed:
105
- 'tools/lint/eslint/eslint-plugin-mozilla/**'