Skip to content
Snippets Groups Projects
Commit 2ac33d64 authored by Thomas Clavier's avatar Thomas Clavier
Browse files

Enable CI/CD

parent 66002590
No related branches found
No related tags found
No related merge requests found
Pipeline #18674 passed
stages:
- 🧪 test
variables:
MAVEN_OPTS: "-Dmaven.repo.local=./.m2/repository"
cache:
paths:
- ./.m2/
test:
stage: 🧪 test
image: maven:3-jdk-11
coverage: '/Total.*?([0-9]{1,3})%/'
script:
- mvn $MAVEN_OPTS test jacoco:report
- cat target/site/jacoco/index.html
...@@ -26,6 +26,19 @@ ...@@ -26,6 +26,19 @@
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version> <version>3.0.0-M5</version>
</plugin> </plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.4</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>
<dependencies> <dependencies>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment