File tree Expand file tree Collapse file tree 2 files changed +32
-22
lines changed Expand file tree Collapse file tree 2 files changed +32
-22
lines changed Original file line number Diff line number Diff line change 26
26
distribution : ' temurin'
27
27
28
28
- name : Run Maven tests and upload coverage
29
- run : mvn clean test
29
+ run : mvn clean test -Pclover
30
30
31
31
- name : Coveralls (Uploading test report)
32
32
if : ${{ github.ref == 'refs/heads/main' }}
Original file line number Diff line number Diff line change 107
107
108
108
<build >
109
109
<plugins >
110
- <plugin >
111
- <groupId >org.openclover</groupId >
112
- <artifactId >clover-maven-plugin</artifactId >
113
- <version >4.5.1</version >
114
- <configuration >
115
- <excludes >
116
- <exclude >**/ExampleJavaApplication.java</exclude >
117
- </excludes >
118
- </configuration >
119
- <executions >
120
- <execution >
121
- <id >clover</id >
122
- <phase >test</phase >
123
- <goals >
124
- <goal >instrument</goal >
125
- <goal >check</goal >
126
- <goal >clover</goal >
127
- </goals >
128
- </execution >
129
- </executions >
130
- </plugin >
131
110
<plugin >
132
111
<groupId >org.springframework.boot</groupId >
133
112
<artifactId >spring-boot-maven-plugin</artifactId >
164
143
</plugins >
165
144
</build >
166
145
146
+ <profiles >
147
+ <profile >
148
+ <id >clover</id >
149
+ <build >
150
+ <plugins >
151
+ <plugin >
152
+ <groupId >org.openclover</groupId >
153
+ <artifactId >clover-maven-plugin</artifactId >
154
+ <version >4.5.1</version >
155
+ <configuration >
156
+ <excludes >
157
+ <exclude >**/ExampleJavaApplication.java</exclude >
158
+ </excludes >
159
+ </configuration >
160
+ <executions >
161
+ <execution >
162
+ <id >clover</id >
163
+ <phase >test</phase >
164
+ <goals >
165
+ <goal >instrument</goal >
166
+ <goal >check</goal >
167
+ <goal >clover</goal >
168
+ </goals >
169
+ </execution >
170
+ </executions >
171
+ </plugin >
172
+ </plugins >
173
+ </build >
174
+ </profile >
175
+ </profiles >
176
+
167
177
</project >
You can’t perform that action at this time.
0 commit comments