|
|
@ -15,7 +15,11 @@ |
|
|
|
# limitations under the License. |
|
|
|
# limitations under the License. |
|
|
|
# |
|
|
|
# |
|
|
|
|
|
|
|
|
|
|
|
on: ["pull_request", "push"] |
|
|
|
on: |
|
|
|
|
|
|
|
pull_request: |
|
|
|
|
|
|
|
push: |
|
|
|
|
|
|
|
branches: |
|
|
|
|
|
|
|
- dev |
|
|
|
env: |
|
|
|
env: |
|
|
|
DOCKER_DIR: ./docker |
|
|
|
DOCKER_DIR: ./docker |
|
|
|
LOG_DIR: /tmp/dolphinscheduler |
|
|
|
LOG_DIR: /tmp/dolphinscheduler |
|
|
@ -58,7 +62,6 @@ 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 -B -Dmaven.test.skip=false |
|
|
|
mvn test -B -Dmaven.test.skip=false |
|
|
|
- name: Upload coverage report to codecov |
|
|
|
- name: Upload coverage report to codecov |
|
|
|
if: github.event_name == 'pull_request' |
|
|
|
|
|
|
|
run: | |
|
|
|
run: | |
|
|
|
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 |
|
|
|