2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Bug 1580778 - Put lint jobs back on Treeherder (https://github.com/mozilla-mobile/fenix/pull/5483)

This commit is contained in:
Johan Lorenzo 2019-09-23 15:22:58 +02:00 committed by GitHub
parent e510715efb
commit edb646c693

View File

@ -19,26 +19,39 @@ job-defaults:
run:
use-caches: false
run-on-tasks-for: [github-pull-request, github-push]
treeherder:
kind: test
platform: 'lint/opt'
tier: 1
jobs:
detekt:
description: 'Running detekt over all modules'
run:
using: gradlew
gradlew: [detekt]
ktlint:
description: 'Running ktlint over all modules'
run:
using: gradlew
gradlew: [ktlint]
compare-locales:
description: 'Validate strings.xml with compare-locales'
run:
using: run-task
cwd: '{checkout}'
command: 'pip install --user "compare-locales>=5.0.2,<6.0" && compare-locales --validate l10n.toml .'
treeherder:
symbol: compare-locale
tier: 2
detekt:
description: 'Running detekt over all modules'
run:
using: gradlew
gradlew: [detekt]
treeherder:
symbol: detekt
ktlint:
description: 'Running ktlint over all modules'
run:
using: gradlew
gradlew: [ktlint]
treeherder:
symbol: ktlint
lint:
description: 'Running tlint over all modules'
run:
using: gradlew
gradlew: [lintDebug]
treeherder:
symbol: lint