Skip to content

Commit e7f6116

Browse files
committed
change report path
1 parent e282d9b commit e7f6116

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: mvn -B clean package
3232

3333
- name: Run tests
34-
run: mvn test
34+
run: mvn test jacoco:prepare-agent
3535

3636
- name: Generate Jacoco coverage report
3737
run: mvn jacoco:report -DreportOutputDirectory=${{ github.workspace }}/target/site/jacoco

pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@
178178
<goals>
179179
<goal>prepare-agent</goal>
180180
</goals>
181+
<configuration>
182+
<destFile>${project.build.directory}/jacoco.exec</destFile>
183+
</configuration>
181184
</execution>
182185
<execution>
183186
<id>report</id>

0 commit comments

Comments
 (0)