android-detekt.yml (2116B)
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 task-defaults: 6 description: 'Run detekt over all modules' 7 run-on-repo-type: [hg] 8 run: 9 using: gradlew 10 gradlew: ['detekt'] 11 worker: 12 docker-image: {in-tree: lint} 13 max-run-time: 1200 14 attributes: 15 code-review: true 16 always-target: true 17 fetches: 18 toolchain: 19 - android-sdk-linux 20 - linux64-embedded-uniffi-bindgen 21 - linux64-nimbus-fml 22 - android-gradle-dependencies 23 - linux64-jdk-repack 24 platform: 'lint/opt' 25 treeherder: 26 kind: test 27 tier: 1 28 worker-type: b-linux 29 when: 30 files-changed: 31 - "mobile/android/android-components/**" 32 33 34 detekt-android-components: 35 run: 36 pre-gradlew: 37 - ["cd", "mobile/android/android-components"] 38 treeherder: 39 symbol: detekt(AC) 40 worker: 41 artifacts: 42 - name: public/reports 43 path: /builds/worker/checkouts/gecko/mobile/android/android-components/build/reports 44 type: directory 45 46 detekt-focus: 47 when: 48 files-changed: 49 - "mobile/android/focus-android/**" 50 run: 51 pre-gradlew: 52 - ["cd", "mobile/android/focus-android"] 53 treeherder: 54 symbol: detekt(focus) 55 worker: 56 artifacts: 57 - name: public/reports 58 path: /builds/worker/checkouts/gecko/mobile/android/focus-android/build/reports 59 type: directory 60 61 detekt-fenix: 62 when: 63 files-changed: 64 - "mobile/android/fenix/**" 65 run: 66 pre-gradlew: 67 - ["cd", "mobile/android/fenix"] 68 gradlew: [detekt, 'mozilla-detekt-rules:test'] 69 treeherder: 70 symbol: detekt(fenix) 71 worker: 72 artifacts: 73 - name: public/reports 74 path: /builds/worker/checkouts/gecko/mobile/android/fenix/build/reports 75 type: directory