File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44# - push / pull_request on the feature/1.0.x branch
55# - manual workflow_dispatch
66#
7- # Runs `mvn -B clean verify` which includes the JaCoCo coverage gate
7+ # Runs `./mvnw -B clean verify` which includes the JaCoCo coverage report
88# (90% line coverage, haltOnFailure=false) configured in the POM.
99name : CI
1010
@@ -34,15 +34,16 @@ jobs:
3434 java-version : ' 8'
3535 cache : maven
3636
37- - name : Build and verify with JaCoCo coverage gate
38- run : mvn -B --no-transfer-progress clean verify
37+ - name : Build and verify with JaCoCo coverage
38+ run : ./mvnw -B --no-transfer-progress clean verify
3939
4040 - name : Upload JaCoCo coverage report
4141 if : always()
4242 uses : actions/upload-artifact@v7
4343 with :
4444 name : jacoco-coverage
4545 path : target/site/jacoco
46+ if-no-files-found : error
4647 retention-days : 14
4748
4849 - name : Upload surefire reports
Original file line number Diff line number Diff line change 4747 </distributionManagement >
4848 <!-- 版本属性定义:Java 版本、依赖版本与 Maven 插件版本统一管理 -->
4949 <properties >
50- <argLine ></argLine >
5150 <!-- ═══ 第一段: 基础属性(自然排序)═══ -->
5251 <java .version>1.8</java .version>
5352 <maven .compiler.release>${java.version} </maven .compiler.release>
8079 <maven-resources-plugin .version>3.5.0</maven-resources-plugin .version>
8180 <maven-source-plugin .version>3.4.0</maven-source-plugin .version>
8281 <maven-surefire-plugin .version>3.5.2</maven-surefire-plugin .version>
82+ <argLine ></argLine >
8383 </properties >
8484 <!-- 依赖版本统一管理(dependencyManagement) -->
8585 <dependencyManagement >
You can’t perform that action at this time.
0 commit comments