From 2a1b727b4bc26121b37768c16875fbaa40fe2dd3 Mon Sep 17 00:00:00 2001 From: Thomas Clavier <tom@tcweb.org> Date: Sun, 17 Mar 2024 21:58:08 +0100 Subject: [PATCH] Add CI/CD to follow quality --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..2477301 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ +stages: + - 🔎 quality + +junit: + stage: 🔎 quality + image: maven + coverage: '/Total.*?([0-9]{1,3})%/' + script: + - mvn test jacoco:report + - cat target/site/jacoco/index.html + artifacts: + reports: + junit: "target/surefire-reports/*.xml" + -- GitLab