From 17a665f50559153a02e44cad3a7da0ed581f0337 Mon Sep 17 00:00:00 2001
From: arnaudlabourel <arnaud.labourel@univ-amu.fr>
Date: Tue, 7 Sep 2021 09:51:26 +0200
Subject: [PATCH] Added configuration for test reports

---
 .gitlab-ci.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bc48bde..8ff6c90 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,7 +13,11 @@ package:
   script:
     - ./gradlew assemble
 
-test:
+java:
   stage: test
   script:
-    - ./gradlew check
\ No newline at end of file
+    - gradle test
+  artifacts:
+    when: always
+    reports:
+      junit: build/test-results/test/**/TEST-*.xml
\ No newline at end of file
-- 
GitLab