docs:Add code coverage blocking. (#838)

pull/840/head
Haotian Zhang 2 years ago committed by GitHub
parent 199e3558ae
commit ad551e3c79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,13 +21,11 @@ fixes #
## Checklist
- [ ] Coverage from `Codecov Report` should not decrease (which means adding junit tests for adding or updating code).
- [ ] All junit tests passing.
- [ ] Add copyright holder at the beginning of .java file if it is new.
- [ ] Add information of this PR to CHANGELOG.md in root of project.
- [ ] Add documentation in javadoc or comment below the PR if necessary.
## Checklist (Optional)
- [ ] Will pull request to branch of 2020.0.
- [ ] Will pull request to branch of 2022.0.
- [ ] Add documentation in javadoc or comment below the PR if necessary.

@ -31,4 +31,5 @@ jobs:
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ${{ github.workspace }}/target/site/jacoco/jacoco.xml
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{ github.workspace }}/target/site/jacoco/jacoco.xml

@ -1,3 +1,4 @@
# Change Log
---
- [docs:Add code coverage blocking.](https://github.com/Tencent/spring-cloud-tencent/pull/838)

@ -91,14 +91,14 @@
<!-- Project revision -->
<revision>1.10.0-2022.0.1-SNAPSHOT</revision>
<!-- Spring Cloud -->
<spring.cloud.version>2022.0.1</spring.cloud.version>
<!-- Spring Framework -->
<spring.framework.version>6.0.4</spring.framework.version>
<!-- Spring Boot -->
<spring.boot.version>3.0.2</spring.boot.version>
<!-- Spring Framework -->
<spring.framework.version>6.0.4</spring.framework.version>
<!-- Spring Cloud -->
<spring.cloud.version>2022.0.1</spring.cloud.version>
<!-- Maven Plugin Versions -->
<jacoco.version>0.8.8</jacoco.version>
@ -122,6 +122,15 @@
<scope>import</scope>
</dependency>
<!-- Spring Cloud Dependencies -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring.cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Spring Framework Dependencies -->
<dependency>
<groupId>org.springframework</groupId>

Loading…
Cancel
Save