This is an automated email from the ASF dual-hosted git repository.

liuxiaochun pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 0594a14  fix powermock coverage 0 (#1935)
0594a14 is described below

commit 0594a144831da4fc6f6cd5516b04bb18bcea92f1
Author: khadgarmage <[email protected]>
AuthorDate: Tue Feb 11 23:32:21 2020 +0800

    fix powermock coverage 0 (#1935)
    
    * fix powermock coverage 0
---
 .github/workflows/ci_ut.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci_ut.yml b/.github/workflows/ci_ut.yml
index 1166029..8013d40 100644
--- a/.github/workflows/ci_ut.yml
+++ b/.github/workflows/ci_ut.yml
@@ -47,16 +47,17 @@ jobs:
       - name: Compile
         run: |
           export MAVEN_OPTS='-Dmaven.repo.local=.m2/repository 
-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSClassUnloadingEnabled 
-XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -Xmx3g'
-          mvn test -B -Dmaven.test.skip=false cobertura:cobertura
+          mvn test -B -Dmaven.test.skip=false
           CODECOV_TOKEN="09c2663f-b091-4258-8a47-c981827eb29a" bash <(curl -s 
https://codecov.io/bash)
       - name: Run SonarCloud Analysis
         run: >
           mvn verify --batch-mode
           org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.1.1688:sonar
-          -Dsonar.junit.reportPaths=target/cobertura
+          -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco/jacoco.xml
           -Dmaven.test.skip=true
           -Dsonar.host.url=https://sonarcloud.io
           -Dsonar.organization=apache
+          -Dsonar.core.codeCoveragePlugin=jacoco
           -Dsonar.projectKey=apache-dolphinscheduler
           -Dsonar.login=e4058004bc6be89decf558ac819aa1ecbee57682
         env:

Reply via email to