From 8dd16259287f58f9273002717ec4d27e97127719 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:43:14 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- taskcluster/kinds/source-test/ktlint.yml | 56 ++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 taskcluster/kinds/source-test/ktlint.yml (limited to 'taskcluster/kinds/source-test/ktlint.yml') diff --git a/taskcluster/kinds/source-test/ktlint.yml b/taskcluster/kinds/source-test/ktlint.yml new file mode 100644 index 0000000000..1828887dc0 --- /dev/null +++ b/taskcluster/kinds/source-test/ktlint.yml @@ -0,0 +1,56 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +--- +job-defaults: + description: 'Run ktlint over all modules' + run: + using: gradlew + gradlew: ['ktlint'] + use-caches: false + attributes: + code-review: true + always-target: true + fetches: + toolchain: + - android-sdk-linux + - android-gradle-dependencies + - linux64-jdk-repack + platform: 'lint/opt' + treeherder: + kind: test + tier: 1 + worker-type: b-linux-gcp + worker: + docker-image: {in-tree: lint} + max-run-time: 1200 + when: + files-changed: + - "mobile/android/android-components/**" + +android-components: + run: + pre-gradlew: + - ["cd", "mobile/android/android-components"] + treeherder: + symbol: ktlint(AC) + +focus: + when: + files-changed: + - "mobile/android/focus-android/**" + run: + pre-gradlew: + - ["cd", "mobile/android/focus-android"] + treeherder: + symbol: ktlint(focus) + +fenix: + when: + files-changed: + - "mobile/android/fenix/**" + run: + pre-gradlew: + - ["cd", "mobile/android/fenix"] + treeherder: + symbol: ktlint(fenix) -- cgit v1.2.3