This is an automated email from the ASF dual-hosted git repository.
aaronai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
The following commit(s) were added to refs/heads/master by this push:
new 9e6ca28 Remove coverage from readme (#130)
9e6ca28 is described below
commit 9e6ca28ac4c9c9ccdd3c9066884a3dd69792e2c4
Author: Aaron Ai <[email protected]>
AuthorDate: Tue Aug 2 20:36:12 2022 +0800
Remove coverage from readme (#130)
---
.github/workflows/{coverage.yml => java_coverage.yml} | 15 ++++++++++-----
README.md | 1 -
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/coverage.yml
b/.github/workflows/java_coverage.yml
similarity index 62%
rename from .github/workflows/coverage.yml
rename to .github/workflows/java_coverage.yml
index 57ca08f..35c647e 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/java_coverage.yml
@@ -1,20 +1,25 @@
-name: Codecov
+name: Java Coverage
on:
pull_request:
types: [opened, reopened, synchronize]
+ paths:
+ - "java/**"
push:
branches:
- master
+ paths:
+ - "java/**"
+# mainly refer to:
https://github.com/merkrafter/Merkompiler/blob/development/.github/workflows/quality_assurance.yml
jobs:
calculate-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- - name: Set up JDK 16
+ - name: Set up JDK 11
uses: actions/setup-java@v2
with:
- java-version: '16'
- distribution: 'adopt'
+ java-version: "11"
+ distribution: "adopt"
- name: Generate coverage report
run: mvn test --file ./java/pom.xml
- name: Upload to Codecov
@@ -22,4 +27,4 @@ jobs:
with:
file: ./java/client/target/site/jacoco/jacoco.xml
fail_ci_if_error: true
- verbose: true
\ No newline at end of file
+ verbose: true
diff --git a/README.md b/README.md
index 0914912..bdb93cc 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,6 @@
[](https://github.com/apache/rocketmq-clients/actions/workflows/csharp_build.yml)
[](https://github.com/apache/rocketmq-clients/actions/workflows/java_build.yml)
[](https://github.com/apache/rocketmq-clients/actions/workflows/golang_build.yml)
-[](https://codecov.io/gh/apache/rocketmq-clients)
## Overview