File tree 2 files changed +18
-13
lines changed
2 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 29
29
- name : Test with Maven
30
30
run : mvn -B test --file pom.xml
31
31
32
- - name : Run code coverage
33
- run : mvn cobertura:cobertura
34
-
35
32
- name : Submit code coverage
36
33
run : bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_SECRET }}
37
34
Original file line number Diff line number Diff line change 81
81
<plugins >
82
82
<!-- for codecov-->
83
83
<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 >
94
102
</plugin >
95
103
96
104
<!-- for deploy to maven central-->
You can’t perform that action at this time.
0 commit comments