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
Execute all checkstyle samples in each PR execution #12558
Comments
Can we compile a list of samples? |
https://github.com/sevntu-checkstyle/checkstyle-samples |
we do not need this for maven, as we already have bunch of real maven project executions. Lines 196 to 207 in a5be3cf
the same was for Gradle but not pjdbc is on latest gradle+plugin, so it is now not very countable |
Those existing maven ones will have to be converted to CLI when we start to break compatibility with it. |
the same we will do with our samples, so I do not see much reason to extra. We did have problem to find ANT project, that is true, so we are ok to keep it. But maven and gradle we should use existing real projects. |
I did not really see us covering out maven sample. Regressions will move off maven to continue having regression. Maven sample could be out last item to stay as maven to warn us of future breaks. |
we have xwiki on maven, as we break maven, we will need to disable xwiki for some time - it is fine. Lines 608 to 612 in 95522ae
configurate (gradle 7.6) - Lines 226 to 228 in 95522ae
simple-binary-encoding (gradle 7.6) - Lines 309 to 314 in 95522ae
|
@rnveach , do you think we need to keep example on old gradle and keep it in our regression in main repo ? So I think we need to close this issue. |
We should keep any example of what we are supporting. We have multiple JDKs in CI because we support them all. Since we are delaying ANT's classpath removal because of a specific gradle version, we should ensure that version is in CI until it warns us we are breaking and we break on purpose. If we need to add newer version of gradle just for verification, then there is no harm. You did gradle investigation, so if you say we are good, then I am good. |
we need to migrate to CIrcleCI gradle execution to be able to run gradle. |
Sample project is migrated to circleci https://app.circleci.com/pipelines/github/sevntu-checkstyle/checkstyle-samples/16/workflows/8c927582-d094-4ad7-a287-988fc63f8974/jobs/52 So we need to run task in checkstyle repo CI, to be sure that no breaking changes happening in PR update. List of jobs to run: We can skip maven, as it is everywhere We probably need new issue creation be short and exact on what needs to be done |
…cution (gradle)
…cution (gradle)
…cution (gradle)
we almost missed breaking compatibility at #12392 (comment)
we need to run all samples in our CI on each PR.
we already did this for ant:
checkstyle/.semaphore/semaphore.yml
Line 54 in 8a1f198
checkstyle/.ci/no-exception-test.sh
Line 182 in d3a5f9a
UPDATE: we leaked bad version to public due to this issue is not done, gradle build problem - #14123
The text was updated successfully, but these errors were encountered: