Skip to content
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

Do not run checkstyle as part of the gradle check task #3985

Merged
merged 2 commits into from
Apr 28, 2018
Merged

Conversation

tobiasdiez
Copy link
Member

With these changes, the checkstyle task is no longer invoked as part of the build or check task. The checkstyleMain task and its variations are kept.

Reason: The build fails as soon as the checkstyle task fails, possibly hiding more important build or test failures (recent example). Moreover, the checkstyle task is invoked as a separate build command on travis anyway.


  • Change in CHANGELOG.md described
  • Tests created for changes
  • Manually tested changed features in running JabRef
  • Screenshots added in PR description (for bigger UI changes)
  • Ensured that the git commit message is a good one
  • Check documentation status (Issue created for outdated help page at help.jabref.org?)

@tobiasdiez tobiasdiez added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Apr 26, 2018
- TEST_SUITE=check OPTIONS=modernizer
- TEST_SUITE=checkstyle
Copy link
Member

Choose a reason for hiding this comment

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

I would definitely execute checkstyle first. As it will always fail asap. So you already know that you have to fix this again

Copy link
Member Author

Choose a reason for hiding this comment

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

They are not guaranteed to run in the specified order (but are started at almost the same time anyway in most cases). Thus it is more a display thing, and the main build is definitely the more important one.

@tobiasdiez tobiasdiez merged commit 9b79ef5 into master Apr 28, 2018
@tobiasdiez tobiasdiez deleted the gradleCheck branch April 28, 2018 12:25
Siedlerchr added a commit that referenced this pull request May 5, 2018
…rsectionnew

* upstream/maintable-beta: (88 commits)
  set look and feel to windows, aqua or nimbus for swing in case
  fix import
  remove look and feel
  New translations JabRef_en.properties (French) (#4009)
  Fix Look and Feel related issues (#4002)
  Fix statement in changelog
  [WIP] Add Text File Export for "Find Unlinked Files" (#3979)
  Fix IEEE preview does not display month  (#3983)
  Activate context menu on key press (#4004)
  Improve code layout
  Fix concurrent modification exception when adding entries to groups
  Fix build
  Typo
  Add fix
  Rename test
  Fix #3994 Duplicate unmodifiable list for sorting (#3996)
  Remove deprecated and unused method (#3993)
  Improvements around external file types (#3887)
  Migrate to native gradle test task (#3987)
  Do not run checkstyle as part of the gradle check task (#3985)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants