Add microsphere-build-example sub-module and update testing setup#156
Merged
mercyblitz merged 14 commits intomicrosphere-projects:mainfrom Mar 19, 2026
Merged
Add microsphere-build-example sub-module and update testing setup#156mercyblitz merged 14 commits intomicrosphere-projects:mainfrom
mercyblitz merged 14 commits intomicrosphere-projects:mainfrom
Conversation
…lugins Co-authored-by: mercyblitz <533114+mercyblitz@users.noreply.github.com>
Co-authored-by: mercyblitz <533114+mercyblitz@users.noreply.github.com>
…th profiles Co-authored-by: mercyblitz <533114+mercyblitz@users.noreply.github.com>
…roperties) Co-authored-by: mercyblitz <533114+mercyblitz@users.noreply.github.com>
…orkflows Co-authored-by: mercyblitz <533114+mercyblitz@users.noreply.github.com>
Co-authored-by: mercyblitz <533114+mercyblitz@users.noreply.github.com>
Limit the push event to only the 'dev' branch and expand pull request branches.
Introduce asciidoctor-maven-plugin.version properties in two profile property sections (set to 2.2.6 and 3.2.0 respectively) so the Asciidoctor Maven plugin version is explicitly defined per profile, avoiding implicit/resolved versions and ensuring consistent builds.
…for-testing Add microsphere-build-example sub-module; migrate tests to JUnit Jupiter 5.14.3
Add a Codecov coverage badge to the README, linking to the project's Codecov graph for the main branch so coverage status is displayed alongside existing build badges.
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment Thanks for integrating Codecov - We've got you covered ☂️ |
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.
This pull request introduces a new example module to the project and modernizes the build and CI workflows. The main focus is to provide a minimal example project (
microsphere-build-example) that exercises the parent POM's build profiles and plugins, as well as to enhance CI by adding code coverage reporting and updating GitHub Actions to use the latest versions. Additionally, documentation and Maven wrapper configuration are improved for better usability and reproducibility.New Example Module:
microsphere-build-examplemodule with its ownpom.xml, a sample service (ExampleService.java), unit tests (ExampleServiceTest.java), and AsciiDoc documentation to demonstrate and validate build profiles and plugins from the parent POM. [1] [2] [3] [4]CI/CD Workflow Improvements:
Updated
.github/workflows/maven-build.ymlto:devbranch and expand pull request builds to includemain,dev, andreleasebranches.actions/checkout@v5andactions/setup-java@v5../mvnw) and activatetest,docs, andcoverageprofiles by default.Updated
.github/workflows/merge-main-to-branches.ymlto useactions/checkout@v5for consistency and improved security. [1] [2]Build Tooling and Documentation:
.mvn/wrapper/maven-wrapper.propertiesfor reproducible builds.README.mdto include a Codecov badge, reflecting the new code coverage reporting.