xichen1 / github-actions-jacoco-badge-example

Adding JaCoCo badge using Github actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coverage

A minimal Dropwizard getting started project using Gradle. Use shadowJar plugin to create fat jars.

To create a fat jar:

./gradlew shadowJar

To run your application:

java -jar build/libs/hello-friends-1.0-SNAPSHOT.jar server hello-world.yml

To build and run your application:

./gradlew runServer

This command runs both first two commands above. There will be gradle output stuck at the bottom of the output and it is normal.

Server

Server is accessible at localhost:8085. Port can be configured inside hello-world.yml.

Resources

Reference

The original project is created by cakraww and is stored at dropwizard-gradle repo. This repo contains only the adjusted version of the other one, only for learning purposes.

About

Adding JaCoCo badge using Github actions


Languages

Language:Java 90.3%Language:Dockerfile 9.7%