Browse Source

fix 0% UT coverage on new code . issue #1611 (#1662)

pull/2/head
Jave-Chen 5 years ago committed by dailidong
parent
commit
7e53ceb3c4
  1. 19
      .github/workflows/ci_ut.yml

19
.github/workflows/ci_ut.yml

@ -51,17 +51,16 @@ jobs:
CODECOV_TOKEN="09c2663f-b091-4258-8a47-c981827eb29a" bash <(curl -s https://codecov.io/bash) CODECOV_TOKEN="09c2663f-b091-4258-8a47-c981827eb29a" bash <(curl -s https://codecov.io/bash)
- name: Run SonarCloud analysis - name: Run SonarCloud analysis
run: > run: >
mvn clean --batch-mode mvn clean --batch-mode
org.jacoco:jacoco-maven-plugin:prepare-agent verify
verify org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.1.1688:sonar
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.host.url=https://sonarcloud.io
-Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache
-Dsonar.organization=apache -Dsonar.projectKey=apache-dolphinscheduler
-Dsonar.projectKey=apache-dolphinscheduler -Dsonar.login=e4058004bc6be89decf558ac819aa1ecbee57682
-Dsonar.login=e4058004bc6be89decf558ac819aa1ecbee57682
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Collect logs - name: Collect logs
run: | run: |
mkdir -p ${LOG_DIR} mkdir -p ${LOG_DIR}

Loading…
Cancel
Save