Skip to content

[build] do not run spotbugsTest by default#3017

Merged
eolivelli merged 2 commits into
apache:masterfrom
nicoloboschi:fix/remove-spotbugs-test
Jan 27, 2022
Merged

[build] do not run spotbugsTest by default#3017
eolivelli merged 2 commits into
apache:masterfrom
nicoloboschi:fix/remove-spotbugs-test

Conversation

@nicoloboschi

Copy link
Copy Markdown
Contributor

Motivation

spotbugsTest fails on a few submodules.
Run spotbugs against test files is useless and slow down development.

We can just skip it by default without having to specify -x spotbugsTest

Changes

Skip spotbugsTest by default

@eolivelli eolivelli 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.

We should run spotbugs by default.
This way when you build the project after making some changes you are sure that you are still over the quality bar that we set for the project.

Spotbugs must always pass.

@nicoloboschi

Copy link
Copy Markdown
Contributor Author

I'm removing it only for the test classes

@eolivelli eolivelli 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.

thanks
My Gradle fu is so weak :-)

LGTM

@eolivelli
eolivelli merged commit 568fea8 into apache:master Jan 27, 2022
StevenLuMT pushed a commit to StevenLuMT/bookkeeper that referenced this pull request Feb 16, 2022
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
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