File tree 2 files changed +23
-1
lines changed
2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 33
33
java-version : ${{ matrix.java_version }}
34
34
cache : ' maven'
35
35
- name : Build
36
- run : ./mvnw -B -q - ff -ntp verify
36
+ run : ./mvnw -B -ff -ntp clean verify
37
37
- name : Generate code coverage
38
38
if : github.event_name != 'pull_request' && matrix.java_version == '8'
39
39
run : ./mvnw -B -q -ff -ntp test
Original file line number Diff line number Diff line change @@ -139,6 +139,28 @@ com.fasterxml.classmate.*;version=${project.version}
139
139
</execution >
140
140
</executions >
141
141
</plugin >
142
+
143
+ <!-- 11-Oct-2023, tatu: Try to produce Code coverage: -->
144
+ <plugin >
145
+ <groupId >org.jacoco</groupId >
146
+ <artifactId >jacoco-maven-plugin</artifactId >
147
+ <executions >
148
+ <execution >
149
+ <goals >
150
+ <goal >prepare-agent</goal >
151
+ </goals >
152
+ </execution >
153
+ <!-- attached to Maven test phase -->
154
+ <execution >
155
+ <id >report</id >
156
+ <phase >test</phase >
157
+ <goals >
158
+ <goal >report</goal >
159
+ </goals >
160
+ </execution >
161
+ </executions >
162
+ </plugin >
163
+
142
164
</plugins >
143
165
</build >
144
166
<profiles >
You can’t perform that action at this time.
0 commit comments