Skip to content

Commit dd26ae5

Browse files
committed
Remove coverage report from website
1 parent b64a576 commit dd26ae5

2 files changed

Lines changed: 21 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,14 @@ jobs:
3232
fail-on-error: false
3333
- uses: madrapps/jacoco-report@v1.7.2
3434
with:
35-
paths: ${{ github.workspace }}/target/site/jacoco/jacoco.xml
35+
paths: ${{ github.workspace }}/**/target/site/jacoco/jacoco.xml
3636
token: ${{ secrets.GITHUB_TOKEN }}
3737
min-coverage-overall: 80
3838
min-coverage-changed-files: 80
3939
- uses: actions/configure-pages@v6
4040
if: github.ref == 'refs/heads/main'
4141
- uses: actions/jekyll-build-pages@v1
4242
if: github.ref == 'refs/heads/main'
43-
with:
44-
destination: ./page
45-
- if: github.ref == 'refs/heads/main'
46-
run: |
47-
cp -r page/. _site/
48-
mkdir -p _site/coverage
49-
cp -r target/site/jacoco/. _site/coverage/
5043
- uses: actions/upload-pages-artifact@v5
5144
if: github.ref == 'refs/heads/main'
5245

pom.xml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,26 +298,42 @@
298298
<version>0.8.14</version>
299299
<executions>
300300
<execution>
301-
<id>prepare-agent</id>
301+
<id>prepare-agents</id>
302302
<goals>
303303
<goal>prepare-agent</goal>
304+
<goal>prepare-agent-integration</goal>
304305
</goals>
305306
</execution>
307+
306308
<execution>
307-
<id>report</id>
309+
<id>merge</id>
308310
<goals>
309-
<goal>report</goal>
311+
<goal>merge</goal>
310312
</goals>
313+
<phase>post-integration-test</phase>
314+
<configuration>
315+
<fileSets>
316+
<fileSet>
317+
<directory>${project.build.directory}</directory>
318+
<includes>
319+
<include>*.exec</include>
320+
</includes>
321+
</fileSet>
322+
</fileSets>
323+
</configuration>
311324
</execution>
325+
312326
<execution>
313327
<id>check</id>
314328
<goals>
329+
<goal>report</goal>
315330
<goal>check</goal>
316331
</goals>
332+
<phase>verify</phase>
317333
<configuration>
318334
<rules>
319335
<rule>
320-
<element>CLASS</element>
336+
<element>BUNDLE</element>
321337
<limits>
322338
<limit>
323339
<counter>LINE</counter>

0 commit comments

Comments
 (0)