Build/CI: Modernize build.yml#235
Merged
dsmiley merged 3 commits intolocationtech:masterfrom May 31, 2025
Merged
Conversation
Contributor
dsmiley
commented
May 31, 2025
- Test on more Java versions
- Remove travis.yml; unused
* Test on more Java versions * Remove travis.yml; unused
There was a problem hiding this comment.
Pull Request Overview
The PR replaces the deprecated Travis CI configuration with a modern GitHub Actions workflow, expands testing across multiple Java versions, and adds unit-test result publishing.
- Removed
.travis.ymlas it is no longer used. - Updated
.github/workflows/build.ymlto run on pushes and PRs tomain/master, bumped Action versions, and added a Java matrix including JDK 8, 11, 17, and 21. - Added a step to publish JUnit test results after the Maven build.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .travis.yml | Deleted unused Travis CI config |
| .github/workflows/build.yml | Migrated CI to GitHub Actions, added Java version matrix, and test-report publishing |
Comments suppressed due to low confidence (3)
.github/workflows/build.yml:34
- Expand the test report glob to include integration test outputs (e.g., target/failsafe-reports/*.xml) to ensure complete coverage in the published results.
files: target/surefire-reports/*.xml
.github/workflows/build.yml:8
- [nitpick] If your repository has standardized on 'main' as the default branch, consider removing 'master' to simplify workflow triggers and avoid unused pipeline runs.
branches: [ main, master ]
.github/workflows/build.yml:15
- [nitpick] Consider adding 'fail-fast: false' under the strategy to ensure all JDK matrix jobs run even if one fails, providing a full view of compatibility issues.
strategy:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.