-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Parallelize CI lint jobs and switch to Debug variant #22637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Changes from all commits
46e805d
9ebf713
01d518c
c2ae2cb
abf5d8b
7d15a10
51d4fad
dd17452
aac21e8
35968ee
caed915
bfe42f9
2019f37
d8f4072
b4661f6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -59,6 +59,17 @@ steps: | |||||||||||||
| artifact_paths: | ||||||||||||||
| - "**/build/reports/detekt/detekt.html" | ||||||||||||||
|
|
||||||||||||||
| - label: "🌐 Locale Consistency" | ||||||||||||||
| command: | | ||||||||||||||
| if .buildkite/commands/should-skip-job.sh --job-type validation; then | ||||||||||||||
| exit 0 | ||||||||||||||
| fi | ||||||||||||||
|
|
||||||||||||||
| install_gems | ||||||||||||||
| bundle exec fastlane check_declared_locales_consistency app:wordpress | ||||||||||||||
| bundle exec fastlane check_declared_locales_consistency app:jetpack | ||||||||||||||
| plugins: [$CI_TOOLKIT] | ||||||||||||||
|
|
||||||||||||||
| - label: "🕵️ Lint WordPress" | ||||||||||||||
| command: ".buildkite/commands/lint.sh wordpress" | ||||||||||||||
| plugins: [$CI_TOOLKIT] | ||||||||||||||
|
|
@@ -71,6 +82,26 @@ steps: | |||||||||||||
| artifact_paths: | ||||||||||||||
| - "**/build/reports/lint-results*.*" | ||||||||||||||
|
|
||||||||||||||
| - label: "🕵️ Lint libs:editor" | ||||||||||||||
| command: | | ||||||||||||||
| if .buildkite/commands/should-skip-job.sh --job-type lint; then | ||||||||||||||
| exit 0 | ||||||||||||||
| fi | ||||||||||||||
|
|
||||||||||||||
| .buildkite/commands/restore-cache.sh | ||||||||||||||
| ./gradlew :libs:editor:lint | ||||||||||||||
| plugins: [$CI_TOOLKIT] | ||||||||||||||
|
Comment on lines
+85
to
+93
|
||||||||||||||
|
|
||||||||||||||
| - label: "🕵️ Lint libs:image-editor" | ||||||||||||||
| command: | | ||||||||||||||
| if .buildkite/commands/should-skip-job.sh --job-type lint; then | ||||||||||||||
| exit 0 | ||||||||||||||
| fi | ||||||||||||||
|
|
||||||||||||||
| .buildkite/commands/restore-cache.sh | ||||||||||||||
| ./gradlew :libs:image-editor:lint | ||||||||||||||
| plugins: [$CI_TOOLKIT] | ||||||||||||||
|
Comment on lines
+102
to
+103
|
||||||||||||||
| ./gradlew :libs:image-editor:lint | |
| plugins: [$CI_TOOLKIT] | |
| ./gradlew :libs:image-editor:lintDebug | |
| plugins: [$CI_TOOLKIT] | |
| artifact_paths: | |
| - "**/build/reports/lint-results*.*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Locale Consistency step uses
should-skip-job.sh --job-type validation, which (pershould-skip-job.sh) will skip when changes are limited tofastlane/**,config/**, and**/strings.xml. Since this job’s purpose is to validate Fastlane locale lists vs GradleresourceConfigurations, skipping on those files can let inconsistencies slip through. Consider using a job-type/skip rule that still runs whenfastlane/lanes/localization.rb(and related locale config) changes, or adjust the skip logic for this step accordingly.