mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
add cobertura
This commit is contained in:
parent
c3e9201ffe
commit
33b947df6e
@ -24,10 +24,9 @@ jobs:
|
|||||||
- ~/.m2
|
- ~/.m2
|
||||||
- run:
|
- run:
|
||||||
name: "Running build"
|
name: "Running build"
|
||||||
command: ./mvnw -Pspring -Pdocs clean install -U -nsu --batch-mode -Dmaven.test.redirectTestOutputToFile=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
|
command: |
|
||||||
- run:
|
./mvnw cobertura:cobertura
|
||||||
name: "install codecov"
|
./mvnw -Pspring -Pdocs clean install -U -nsu --batch-mode -Dmaven.test.redirectTestOutputToFile=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
|
||||||
command: "pip install codecov"
|
|
||||||
- run:
|
- run:
|
||||||
name: "Aggregate test results"
|
name: "Aggregate test results"
|
||||||
when: always
|
when: always
|
||||||
|
12
pom.xml
12
pom.xml
@ -179,6 +179,18 @@
|
|||||||
<reuseForks>false</reuseForks>
|
<reuseForks>false</reuseForks>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>cobertura-maven-plugin</artifactId>
|
||||||
|
<version>2.7</version>
|
||||||
|
<configuration>
|
||||||
|
<formats>
|
||||||
|
<format>html</format>
|
||||||
|
<format>xml</format>
|
||||||
|
</formats>
|
||||||
|
<check />
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user