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

Issue #11734: Add codenarc to CI for groovy files #11739

Merged
merged 1 commit into from
Jun 24, 2022

Conversation

Vyom-Yadav
Copy link
Member

@Vyom-Yadav Vyom-Yadav commented Jun 14, 2022

Resolves #11734

Failing CodeNarc analysis (Proof of working): https://github.com/checkstyle/checkstyle/runs/7021070841?check_suite_focus=true

@Vyom-Yadav Vyom-Yadav force-pushed the addCodenarcToCi branch 12 times, most recently from fa9fddf to 7941900 Compare June 15, 2022 05:03
@romani
Copy link
Member

romani commented Jun 16, 2022

I would move this check to Travis or other not high demand CI. It it most likely that such script will never be updated after summer, so better to have it run in some less critical CI.

But we can do this move at end of summer

Copy link
Member

@nrmancuso nrmancuso left a comment

Choose a reason for hiding this comment

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

Items:

.ci/StarterRuleSet-AllRulesByCategory.groovy.txt Outdated Show resolved Hide resolved
.ci/jsoref-spellchecker/whitelist.words Outdated Show resolved Hide resolved
@Vyom-Yadav Vyom-Yadav force-pushed the addCodenarcToCi branch 5 times, most recently from 689e450 to 618c38a Compare June 18, 2022 18:15
@Vyom-Yadav Vyom-Yadav force-pushed the addCodenarcToCi branch 5 times, most recently from dbd55ac to ce4ba54 Compare June 23, 2022 13:39
Comment on lines +303 to +276
UnnecessaryGroovyImport {
doNotApplyToFileNames = 'codenarc.groovy'
}
UnusedImport {
doNotApplyToFileNames = 'codenarc.groovy'
}
Copy link
Member Author

Choose a reason for hiding this comment

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

False positives, those imports are used.

@nrmancuso
Copy link
Member

@Vyom-Yadav
Copy link
Member Author

@nrmancuso nrmancuso merged commit 19dbfc0 into checkstyle:master Jun 24, 2022
@nrmancuso nrmancuso removed the blocked label Jun 24, 2022
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.

Add codenarc to CI for groovy files
3 participants