https://github.com/xtenzq/java-maven-github-actions-badges-template
build, test, and code coverage badges + repo template
https://github.com/xtenzq/java-maven-github-actions-badges-template
badges badges-markdown github-actions github-actions-badges github-actions-workflow java maven readme-badges
Last synced: 8 months ago
JSON representation
build, test, and code coverage badges + repo template
- Host: GitHub
- URL: https://github.com/xtenzq/java-maven-github-actions-badges-template
- Owner: xtenzQ
- Created: 2021-12-21T04:30:00.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-19T12:47:50.000Z (over 3 years ago)
- Last Synced: 2025-03-21T02:16:28.995Z (about 1 year ago)
- Topics: badges, badges-markdown, github-actions, github-actions-badges, github-actions-workflow, java, maven, readme-badges
- Language: Java
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Maven GitHub Actions build/test/coverage badge generation workflows
A friendly reminder: If this repo somehow helped you please star 🌟 it! Thank you! 😄
### Use this Maven template to generate README.md badges using GitHub Actions
| Action | Badge | Path |
| --- | --- | --- |
| build |  | `https://github.com///actions/workflows/build.yml/badge.svg?branch=main` |
| test |  | `https://github.com///actions/workflows/tests.yml/badge.svg?branch=main` |
| coverage |  | `.github/badges/jacoco.svg` |
Badge generation is based on GitHub Actions Workflows:
1. [build.yml](.github/workflows/build.yml) - is default `mvn package` building command
2. [tests.yml](.github/workflows/tests.yml) - uses `org.jacoco.jacoco-maven-plugin` to generate test coverage report. We also use this workflow to generate `tests | passing` badge.