-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add GitHub action to test packaging MB Solr with Maven #55
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as far as I understand it - added build test passes. We will need to figure out in a subsequent PR how to use the existing tests in the src/test
directory.
The `touch` command prevents Maven from regenerating the Java binding which would then be missing the changes from `utils/patch-java-classes`. See commit 44dbb10 for details.
Use the same Eclipse Temurin distribution as in the Dockerfile (for both Maven builder image and Solr final image).
Note that building `mb-solr` with `mvn package` is running the tests under the directory `mb-solr/src/test/` but these are mentionned after 12k+ lines of logs and for some reason searching logs through GitHub (feature in Beta) is currently helpless.
Reference: https://github.com/actions/setup-java/releases Co-authored-by: Kartik Ohri <[email protected]>
Reference: https://github.com/actions/setup-java#caching-maven-dependencies Co-authored-by: Kartik Ohri <[email protected]>
c147952
to
2b3a124
Compare
See message in commit 33d0cf8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks!
Problem
There used to be continuous integration tests in Travis, but these have not been maintained and Travis isn’t free anymore since 2021.
Solution
A good first step for restoring those tests is to be able to build and install MusicBrainz Solr package with Maven.