docs:Add code coverage blocking. (#836)

pull/839/head
Haotian Zhang 2 years ago committed by GitHub
parent 4af6e282d2
commit 422f45f5ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,12 +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 2022.0 and 2020.0.
- [ ] Add documentation in javadoc or comment below the PR if necessary.
- [ ] Will pull request to branch of 2020.0.
- [ ] Will pull request to branch of 2022.0.

@ -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/836)

@ -124,15 +124,16 @@
<scope>import</scope>
</dependency>
<!-- Spring Cloud Dependencies -->
<!-- Spring Framework Dependencies -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring.cloud.version}</version>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<version>${spring.framework.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Spring Boot Dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
@ -141,11 +142,11 @@
<scope>import</scope>
</dependency>
<!-- Spring Framework Dependencies -->
<!-- Spring Cloud Dependencies -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-framework-bom</artifactId>
<version>${spring.framework.version}</version>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring.cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

Loading…
Cancel
Save