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/2.0.x branch
55# - manual workflow_dispatch
66#
7- # Runs `./mvnw -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
3434 java-version : ' 17'
3535 cache : maven
3636
37- - name : Build and verify with JaCoCo coverage gate
37+ - name : Build and verify with JaCoCo coverage
3838 run : ./mvnw -B --no-transfer-progress clean verify
3939
4040 - name : Upload JaCoCo coverage report
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 7979 <maven-resources-plugin .version>3.5.0</maven-resources-plugin .version>
8080 <maven-source-plugin .version>3.4.0</maven-source-plugin .version>
8181 <maven-surefire-plugin .version>3.5.2</maven-surefire-plugin .version>
82+ <argLine ></argLine >
8283 </properties >
8384 <!-- 依赖版本统一管理(dependencyManagement) -->
8485 <dependencyManagement >
315316 <configuration >
316317 <skip >false</skip >
317318 <skipTests >false</skipTests >
318- <argLine >-Xmx1024m -Dfile.encoding=UTF-8</argLine >
319+ <argLine >@{argLine} -Xmx1024m -Dfile.encoding=UTF-8</argLine >
319320 <additionalClasspathElements >
320321 <additionalClasspathElement >${basedir} /target/test-classes</additionalClasspathElement >
321322 </additionalClasspathElements >
You can’t perform that action at this time.
0 commit comments