File tree Expand file tree Collapse file tree 2 files changed +18
-13
lines changed
Expand file tree Collapse file tree 2 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 2929 - name : Test with Maven
3030 run : mvn -B test --file pom.xml
3131
32- - name : Run code coverage
33- run : mvn cobertura:cobertura
34-
3532 - name : Submit code coverage
3633 run : bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_SECRET }}
3734
Original file line number Diff line number Diff line change 8181 <plugins >
8282 <!-- for codecov-->
8383 <plugin >
84- <groupId >org.codehaus.mojo</groupId >
85- <artifactId >cobertura-maven-plugin</artifactId >
86- <version >2.7</version >
87- <configuration >
88- <formats >
89- <format >html</format >
90- <format >xml</format >
91- </formats >
92- <check />
93- </configuration >
84+ <groupId >org.jacoco</groupId >
85+ <artifactId >jacoco-maven-plugin</artifactId >
86+ <version >0.8.8</version >
87+ <executions >
88+ <execution >
89+ <id >prepare-agent</id >
90+ <goals >
91+ <goal >prepare-agent</goal >
92+ </goals >
93+ </execution >
94+ <execution >
95+ <id >report</id >
96+ <phase >test</phase >
97+ <goals >
98+ <goal >report</goal >
99+ </goals >
100+ </execution >
101+ </executions >
94102 </plugin >
95103
96104 <!-- for deploy to maven central-->
You can’t perform that action at this time.
0 commit comments