Skip to content

Commit aaa295f

Browse files
committed
Merge verified Maven coverage and Wrapper maintenance configuration
2 parents e725db2 + 7726b51 commit aaa295f

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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.
99
name: 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

‎pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
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>
@@ -80,6 +79,7 @@
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>

0 commit comments

Comments
 (0)