Skip to content

Commit 6305ac6

Browse files
committed
fix: 修正新项目结构下的覆盖率上传命令
1 parent 59d5f9d commit 6305ac6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/mvn-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
mvn -v
2020
2121
- run: mvn verify
22-
- run: mvn clean test jacoco:report coveralls:report -DrepoToken="${{secrets.COVERALLS_TOKEN}}"
22+
- run: mvn clean test coveralls:report -DrepoToken="${{secrets.COVERALLS_TOKEN}}" -f pom.xml

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
<artifactId>coveralls-maven-plugin</artifactId>
197197
<version>4.5.0-M2</version>
198198
<configuration>
199-
<jacocoReports>${project.basedir}/spel-validator-test/target/site/jacoco-aggregate/jacoco.xml</jacocoReports>
199+
<jacocoReports>${project.basedir}/spel-validator-test-report/target/site/jacoco-aggregate/jacoco.xml</jacocoReports>
200200
</configuration>
201201
</plugin>
202202
</plugins>

0 commit comments

Comments
 (0)