android-l10n-lint.yml (1424B)
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: 'Validate android strings.xml with moz.l10n' 7 run-on-repo-type: [hg] 8 run: 9 using: run-task 10 cwd: '{checkout}' 11 command: 'pip install --break-system-packages --user "moz.l10n[xml]~=0.10.1" && /builds/worker/.local/bin/l10n-lint --config ./l10n.toml' 12 worker-type: t-linux-docker-amd 13 platform: lint/opt 14 treeherder: 15 kind: other 16 tier: 2 17 worker: 18 docker-image: {in-tree: lint} 19 max-run-time: 1800 20 use-python: system 21 22 23 l10n-lint-android-components: 24 optimization: 25 skip-unless-changed: 26 - "mobile/android/android-components/**" 27 run: 28 cwd: '{checkout}/mobile/android/android-components' 29 treeherder: 30 symbol: compare-locales(AC) 31 32 l10n-lint-focus: 33 optimization: 34 skip-unless-changed: 35 - "mobile/android/focus-android/**" 36 run: 37 cwd: '{checkout}/mobile/android/focus-android' 38 treeherder: 39 symbol: compare-locales(focus) 40 41 l10n-lint-fenix: 42 optimization: 43 skip-unless-changed: 44 - "mobile/android/fenix/**" 45 run: 46 cwd: '{checkout}/mobile/android/fenix' 47 treeherder: 48 symbol: compare-locales(fenix)