docs:Add code coverage blocking. (#838)

pull/840/head
Haotian Zhang 1 year 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 ## 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 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 information of this PR to CHANGELOG.md in root of project.
- [ ] Add documentation in javadoc or comment below the PR if necessary.
## Checklist (Optional) ## Checklist (Optional)
- [ ] Will pull request to branch of 2020.0. - [ ] Will pull request to branch of 2020.0.
- [ ] Will pull request to branch of 2022.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 - name: Upload coverage to Codecov
uses: codecov/codecov-action@v3 uses: codecov/codecov-action@v3
with: 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 # Change Log
--- ---
- [docs:Add code coverage blocking.](https://github.com/Tencent/spring-cloud-tencent/pull/838)

@ -91,14 +91,14 @@
<!-- Project revision --> <!-- Project revision -->
<revision>1.10.0-2022.0.1-SNAPSHOT</revision> <revision>1.10.0-2022.0.1-SNAPSHOT</revision>
<!-- Spring Cloud --> <!-- Spring Framework -->
<spring.cloud.version>2022.0.1</spring.cloud.version> <spring.framework.version>6.0.4</spring.framework.version>
<!-- Spring Boot --> <!-- Spring Boot -->
<spring.boot.version>3.0.2</spring.boot.version> <spring.boot.version>3.0.2</spring.boot.version>
<!-- Spring Framework --> <!-- Spring Cloud -->
<spring.framework.version>6.0.4</spring.framework.version> <spring.cloud.version>2022.0.1</spring.cloud.version>
<!-- Maven Plugin Versions --> <!-- Maven Plugin Versions -->
<jacoco.version>0.8.8</jacoco.version> <jacoco.version>0.8.8</jacoco.version>
@ -122,6 +122,15 @@
<scope>import</scope> <scope>import</scope>
</dependency> </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 --> <!-- Spring Framework Dependencies -->
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>

Loading…
Cancel
Save