Skip to content

[Backport maven-3.10.x] #14207: ci: skip checkstyle on non-Linux build and integration-test jobs - #14209

Open
gnodet wants to merge 2 commits into
apache:maven-3.10.xfrom
gnodet:ci/skip-checkstyle-redundant-jobs-310x
Open

gnodet wants to merge 2 commits into
apache:maven-3.10.xfrom
gnodet:ci/skip-checkstyle-redundant-jobs-310x

Conversation

@gnodet

@gnodet gnodet commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Checkstyle is already enforced on Linux in the build job. Running it again on Windows and macOS, and again in integration-test, adds overhead without catching anything new.

  • In the build matrix job: skip checkstyle on non-Linux runners (Windows, macOS) via a separate step with if: runner.os != 'Linux'; Linux keeps enforcing it
  • In the integration-test job: skip entirely (runs against a separate maven-integration-testing repo, not the maven source)

Backport of #14207.

I hereby declare that the contents of this pull request are licensed under the Apache License 2.0, and I am authorized to contribute them under that license.

@gnodet-bot gnodet-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as the maven-3.9.x backport: skip Checkstyle on non-Linux runners to speed up CI while keeping the check on Linux. Integration-test job also gets -Dcheckstyle.skip=true. Clean backport of #14207.


Review generated by an AI agent, Hermès — please verify findings before acting on them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants