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--- 5newtab-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-source 13 worker: 14 docker-image: {in-tree: "ubuntu1804-test"} 15 max-run-time: 1800 16 require-build: 17 linux1804-64/opt: build-linux64-shippable/opt 18 run: 19 using: run-task 20 cache-dotcache: true 21 cwd: '{checkout}' 22 command: > 23 cd /builds/worker/checkouts/gecko/browser/components/newtab && 24 npm install && 25 node bin/try-runner.js 26 when: 27 files-changed: 28 - "browser/components/newtab/**" 29 30debugger-tests: 31 description: devtools debugger unit tests and flow type checks 32 platform: linux1804-64/opt 33 attributes: 34 code-review: true 35 treeherder: 36 symbol: node(debugger) 37 kind: test 38 tier: 1 39 worker-type: t-linux-xlarge-source 40 worker: 41 docker-image: {in-tree: "lint"} 42 max-run-time: 1800 43 run: 44 using: run-task 45 cache-dotcache: true 46 cwd: '{checkout}' 47 command: > 48 npm install && 49 cd devtools/client/debugger/ && 50 yarn && 51 node bin/try-runner.js 52 when: 53 files-changed: 54 - 'devtools/client/debugger/**' 55 56devtools-tests: 57 description: devtools node-based tests (for instance jest) 58 platform: linux1804-64/opt 59 attributes: 60 code-review: true 61 treeherder: 62 symbol: node(devtools) 63 kind: test 64 tier: 1 65 worker-type: t-linux-xlarge-source 66 worker: 67 docker-image: {in-tree: "lint"} 68 max-run-time: 1800 69 run: 70 using: run-task 71 cache-dotcache: true 72 cwd: '{checkout}' 73 command: > 74 npm install && 75 cd devtools/client/bin/ && 76 node devtools-node-test-runner.js --suite=aboutdebugging && 77 node devtools-node-test-runner.js --suite=accessibility && 78 node devtools-node-test-runner.js --suite=application && 79 node devtools-node-test-runner.js --suite=compatibility && 80 node devtools-node-test-runner.js --suite=framework && 81 node devtools-node-test-runner.js --suite=netmonitor && 82 node devtools-node-test-runner.js --suite=webconsole 83 when: 84 files-changed: 85 - 'devtools/client/**' 86 - 'devtools/shared/**' 87 88eslint-plugin-mozilla: 89 description: eslint-plugin-mozilla integration tests 90 platform: linux1804-64/opt 91 treeherder: 92 symbol: node(epm) 93 kind: test 94 tier: 1 95 worker-type: t-linux-xlarge-source 96 worker: 97 docker-image: {in-tree: "lint"} 98 max-run-time: 1800 99 run: 100 using: run-task 101 cache-dotcache: true 102 cwd: '{checkout}/tools/lint/eslint/eslint-plugin-mozilla' 103 command: > 104 cp -r /build/node_modules_eslint-plugin-mozilla node_modules && 105 npm run test 106 when: 107 files-changed: 108 - 'tools/lint/eslint/eslint-plugin-mozilla/**' 109