You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2023/09/07 03:45:13 UTC
[iotdb] 01/02: update
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch codecov
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 326b1afba3e77e898febded9812d58a931af8fcc
Author: HTHou <hh...@outlook.com>
AuthorDate: Thu Sep 7 11:44:42 2023 +0800
update
---
.github/workflows/sonar-coveralls.yml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/sonar-coveralls.yml b/.github/workflows/sonar-coveralls.yml
index 43bb5faf33d..5a1279a1486 100644
--- a/.github/workflows/sonar-coveralls.yml
+++ b/.github/workflows/sonar-coveralls.yml
@@ -45,11 +45,14 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2-
- name: Test
- run: mvn -B -P with-code-coverage clean compile test -pl distribution,iotdb-client/cli,iotdb-client/session,iotdb-client/jdbc -am -Dtest.port.closed=true
+ run: |
+ mvn -B -P with-code-coverage clean compile test -pl distribution,iotdb-client/cli,iotdb-client/session,iotdb-client/jdbc -am -Dtest.port.closed=true
+ mvn -B coveralls:report
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
+ files: ./code-coverage/target/jacoco-merged-reports/jacoco.xml
# - name: Coveralls
# # TODO: "post-integration-test" doesn't evaluate the outcome of the IT phase, this is done in "validate"
# run: |