setup coverate report generation

This commit is contained in:
2025-12-05 18:20:51 +01:00
parent c5c602d599
commit f9cbb1b596
12 changed files with 1142 additions and 387 deletions

View File

@ -0,0 +1,16 @@
FROM maven:3.8.6-openjdk-8
WORKDIR /app
# Copy pom.xml and source files
COPY pom.xml .
COPY src ./src
# Run tests with coverage
RUN mvn clean test
# Generate coverage report
RUN mvn jacoco:report
# Show the coverage report location
RUN echo "Coverage report is available in target/site/jacoco/"