diff options
| -rw-r--r-- | Dockerfile.test | 4 | ||||
| -rw-r--r-- | pom.xml | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/Dockerfile.test b/Dockerfile.test index 9a82cc5..1de70d1 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -5,11 +5,11 @@ COPY mvnw pom.xml ./ COPY .mvn .mvn COPY src src RUN chmod +x mvnw -RUN ./mvnw clean package -q -Dmaven.test.skip=true +RUN ./mvnw clean package -Dmaven.test.skip=true # Stage 2: TEST FROM maven:3.8.5-openjdk-17 AS test WORKDIR /app COPY --from=build /app /app RUN chmod +x mvnw -CMD ["./mvnw", "test", "-P", "test", "-q"]
\ No newline at end of file +CMD ["./mvnw", "test", "-P", "test"]
\ No newline at end of file @@ -89,6 +89,13 @@ <build> <plugins> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <printSummary>true</printSummary> + </configuration> + </plugin> + <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> |
