|
|
@ -15,7 +15,7 @@ |
|
|
|
# limitations under the License. |
|
|
|
# limitations under the License. |
|
|
|
# |
|
|
|
# |
|
|
|
|
|
|
|
|
|
|
|
on: ["pull_request"] |
|
|
|
on: [push, "pull_request"] |
|
|
|
env: |
|
|
|
env: |
|
|
|
DOCKER_DIR: ./docker |
|
|
|
DOCKER_DIR: ./docker |
|
|
|
LOG_DIR: /tmp/dolphinscheduler |
|
|
|
LOG_DIR: /tmp/dolphinscheduler |
|
|
@ -49,11 +49,12 @@ jobs: |
|
|
|
export MAVEN_OPTS='-Dmaven.repo.local=.m2/repository -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -Xmx3g' |
|
|
|
export MAVEN_OPTS='-Dmaven.repo.local=.m2/repository -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:-UseGCOverheadLimit -Xmx3g' |
|
|
|
mvn test -Dmaven.test.skip=false cobertura:cobertura |
|
|
|
mvn test -Dmaven.test.skip=false cobertura:cobertura |
|
|
|
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 verify --batch-mode |
|
|
|
verify |
|
|
|
org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.1.1688:sonar |
|
|
|
org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.1.1688:sonar |
|
|
|
-Dsonar.junit.reportPaths=target/cobertura |
|
|
|
|
|
|
|
-Dmaven.test.skip=true |
|
|
|
-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 |
|
|
|