An open API service indexing awesome lists of open source software.

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

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 | ![build](https://github.com/xtenzQ/java-maven-github-actions-badges-template/actions/workflows/build.yml/badge.svg?branch=main) | `https://github.com///actions/workflows/build.yml/badge.svg?branch=main` |
| test | ![test](https://github.com/xtenzQ/java-maven-github-actions-badges-template/actions/workflows/tests.yml/badge.svg?branch=main) | `https://github.com///actions/workflows/tests.yml/badge.svg?branch=main` |
| coverage | ![Coverage](.github/badges/jacoco.svg) | `.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.