mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +00:00
Add test coverage to CI
This commit is contained in:
+11
-4
@@ -23,6 +23,7 @@
|
||||
<protobuf-java.version>3.21.7</protobuf-java.version>
|
||||
<easy-random.version>5.0.0</easy-random.version>
|
||||
<easy-random-protobuf.version>0.4.0</easy-random-protobuf.version>
|
||||
<jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
|
||||
|
||||
<!-- Use older version because the newer versions have problems with non-ASCII characters in properties files (umlauts etc.) -->
|
||||
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
|
||||
@@ -259,14 +260,20 @@
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>0.8.8</version>
|
||||
<version>${jacoco-maven-plugin.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>report</id>
|
||||
<id>jacoco-initialize</id>
|
||||
<goals>
|
||||
<goal>report-aggregate</goal>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>jacoco-site</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>report</goal>
|
||||
</goals>
|
||||
<phase>verify</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
@@ -30,13 +30,8 @@
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
<sonar.organization>grimsi-github</sonar.organization>
|
||||
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
||||
</properties>
|
||||
|
||||
<properties>
|
||||
<sonar.organization>grimsi-github</sonar.organization>
|
||||
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
# Point SONAR to the compiled Java classes
|
||||
sonar.java.binaries=./backend/target
|
||||
|
||||
# Point SONAR to the JaCoCo report
|
||||
sonar.coverage.jacoco.xmlReportPaths=./backend/target/site/jacoco-aggregate/jacoco.xml
|
||||
Reference in New Issue
Block a user