summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/source-test/android-detekt.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /taskcluster/ci/source-test/android-detekt.yml
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'taskcluster/ci/source-test/android-detekt.yml')
-rw-r--r--taskcluster/ci/source-test/android-detekt.yml76
1 files changed, 76 insertions, 0 deletions
diff --git a/taskcluster/ci/source-test/android-detekt.yml b/taskcluster/ci/source-test/android-detekt.yml
new file mode 100644
index 0000000000..84f46ed6b7
--- /dev/null
+++ b/taskcluster/ci/source-test/android-detekt.yml
@@ -0,0 +1,76 @@
+# 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 detekt over all modules'
+ run:
+ using: gradlew
+ gradlew: ['detekt']
+ use-caches: false
+ worker:
+ docker-image: {in-tree: lint}
+ max-run-time: 1200
+ env:
+ JAVA_HOME: "/builds/worker/fetches/jdk/jdk-17.0.6+10"
+ attributes:
+ code-review: true
+ always-target: true
+ fetches:
+ toolchain:
+ - android-sdk-linux
+ - android-gradle-dependencies
+ - android-gradle-python-envs
+ - linux64-jdk-repack
+ platform: 'lint/opt'
+ treeherder:
+ kind: test
+ tier: 1
+ worker-type: b-linux-gcp
+ when:
+ files-changed:
+ - "mobile/android/android-components/**"
+
+
+detekt-android-components:
+ run:
+ pre-gradlew:
+ - ["cd", "mobile/android/android-components"]
+ treeherder:
+ symbol: detekt(AC)
+ worker:
+ artifacts:
+ - name: public/reports
+ path: /builds/worker/checkouts/gecko/mobile/android/android-components/build/reports
+ type: directory
+
+detekt-focus:
+ when:
+ files-changed:
+ - "mobile/android/focus-android/**"
+ run:
+ pre-gradlew:
+ - ["cd", "mobile/android/focus-android"]
+ treeherder:
+ symbol: detekt(focus)
+ worker:
+ artifacts:
+ - name: public/reports
+ path: /builds/worker/checkouts/gecko/mobile/android/focus-android/build/reports
+ type: directory
+
+detekt-fenix:
+ when:
+ files-changed:
+ - "mobile/android/fenix/**"
+ run:
+ pre-gradlew:
+ - ["cd", "mobile/android/fenix"]
+ gradlew: [detekt, 'mozilla-detekt-rules:test']
+ treeherder:
+ symbol: detekt(fenix)
+ worker:
+ artifacts:
+ - name: public/reports
+ path: /builds/worker/checkouts/gecko/mobile/android/fenix/build/reports
+ type: directory