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 2022/04/09 08:18:04 UTC
[iotdb] branch master updated: Fix coverage check
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 1d946c71c7 Fix coverage check
1d946c71c7 is described below
commit 1d946c71c7ded79d35b38b1757f7f82624a33a9c
Author: Haonan <hh...@outlook.com>
AuthorDate: Sat Apr 9 16:18:00 2022 +0800
Fix coverage check
---
.github/workflows/sonar-coveralls.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/sonar-coveralls.yml b/.github/workflows/sonar-coveralls.yml
index 4d4e3420ef..e488e97b2f 100644
--- a/.github/workflows/sonar-coveralls.yml
+++ b/.github/workflows/sonar-coveralls.yml
@@ -49,7 +49,7 @@ jobs:
# we do not compile client-cpp for saving time, it is tested in client.yml
run: mvn -B clean compile post-integration-test -Dtest.port.closed=true -Pcode-coverage -P '!testcontainer,!influxdb-protocol'
- name: Code Coverage (Coveralls)
- if: ${{ success() && (github.event_name == 'pull_request_target' || github.event_name == 'push')}}
+ if: ${{ success() && (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'apache/iotdb' || github.event_name == 'push')}}
run: |
mvn -B post-integration-test -Pcode-coverage -pl code-coverage
mvn -B coveralls:report \