summaryrefslogtreecommitdiff
path: root/Dockerfile.test
diff options
context:
space:
mode:
authorSzymon Szukalski <szymon@skas.io>2024-07-26 11:55:00 +1000
committerSzymon Szukalski <szymon@skas.io>2024-07-26 11:55:00 +1000
commitf861977a68995b0ee66f9c19e6ea1c4caee54b89 (patch)
treed779c1c246a310bdc78ed7ed872afbd082b8759d /Dockerfile.test
parent1abae6d1e41659ebe3230352c58e0cf0550f19eb (diff)
Enable maven build logging for test container
Maven was configured to build quietly, which means that we can't easily see if there are any issues and there is no summary of the tests that have run. Added maven configuration to ensure that the tests print a summary.
Diffstat (limited to 'Dockerfile.test')
-rw-r--r--Dockerfile.test4
1 files changed, 2 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