You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/05/22 05:14:53 UTC
[shardingsphere] branch master updated: feat: disable indication of mvn install in CI (#17851)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 4a73c43c093 feat: disable indication of mvn install in CI (#17851)
4a73c43c093 is described below
commit 4a73c43c0937e1d55647115a39540629290f1000
Author: Jacob953 <71...@qq.com>
AuthorDate: Sun May 22 13:14:47 2022 +0800
feat: disable indication of mvn install in CI (#17851)
---
.github/workflows/ci.yml | 42 ++++++++++++++++++++++++++++++++----------
1 file changed, 32 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4eabbff78f0..e9abfc6bf66 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -83,11 +83,37 @@ jobs:
- name: Build with Maven
shell: cmd
run: |
- .\mvnw -B clean -D"maven.javadoc.skip"=true -D"rat.skip"=true -D"spotless.apply.skip"=true install < nul
+ .\mvnw -B --no-transfer-progress clean -D"maven.javadoc.skip"=true -D"rat.skip"=true -D"spotless.apply.skip"=true install < nul
echo "mvnw exited"
- name: Build examples with Maven
run: ./mvnw -B -f examples/pom.xml clean package -DskipTests
-
+
+ ubuntu:
+ if: (github.event_name == 'schedule' && github.repository == 'apache/shardingsphere')
+ name: JDK 8 - on ubuntu-latest
+ runs-on: ubuntu-latest
+ timeout-minutes: 60
+ steps:
+ - uses: actions/checkout@v2
+ - name: Maven resolve ranges
+ run: ./mvnw versions:resolve-ranges -ntp -Dincludes='org.springframework:*,org.springframework.boot:*'
+ - name: Cache Maven Repos
+ uses: actions/cache@v2
+ with:
+ path: ~/.m2/repository
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-maven-
+ - name: Set up JDK 8
+ uses: actions/setup-java@v2
+ with:
+ distribution: 'temurin'
+ java-version: 8
+ - name: Build with Maven
+ run: echo y | ./mvnw -B --no-transfer-progress clean install -Dmaven.javadoc.skip=true -Drat.skip=true -Dcheckstyle.skip=true -Dspotless.apply.skip=true
+ - name: Build examples with Maven
+ run: echo y | ./mvnw -B -f examples/pom.xml clean package -DskipTests
+
unix:
if: (github.event_name == 'schedule' && github.repository == 'apache/shardingsphere') || (github.event_name != 'schedule')
name: JDK ${{ matrix.java.version }} - on ${{ matrix.os }}
@@ -97,10 +123,6 @@ jobs:
matrix:
os: [ ubuntu-latest ]
java:
- - {
- version: 8,
- maven_args: "-Dmaven.javadoc.skip=true -Drat.skip=true -Dcheckstyle.skip=true -Dspotless.apply.skip=true"
- }
- {
version: 11,
maven_args: "-Dmaven.javadoc.skip=true -Drat.skip=true -Djacoco.skip=true -Dspotless.apply.skip=true"
@@ -126,7 +148,7 @@ jobs:
distribution: 'temurin'
java-version: ${{ matrix.java.version }}
- name: Build with Maven
- run: echo y | ./mvnw -B clean install ${{ matrix.java.maven_args }}
+ run: echo y | ./mvnw -B --no-transfer-progress clean install ${{ matrix.java.maven_args }}
- name: Build examples with Maven
run: echo y | ./mvnw -B -f examples/pom.xml clean package -DskipTests
@@ -158,7 +180,7 @@ jobs:
distribution: 'temurin'
java-version: ${{ matrix.java.version }}
- name: Build with Maven
- run: echo y | ./mvnw -B clean install ${{ matrix.java.maven_args }}
+ run: echo y | ./mvnw -B --no-transfer-progress clean install ${{ matrix.java.maven_args }}
- name: Build examples with Maven
run: echo y | ./mvnw -B -f examples/pom.xml clean package -DskipTests
@@ -183,13 +205,13 @@ jobs:
distribution: 'temurin'
java-version: 8
- name: Build Project
- run: ./mvnw -B clean install -Dmaven.javadoc.skip=true -Drat.skip=true -Dcheckstyle.skip=true -DskipITs -DskipTests -Dspotless.apply.skip=true
+ run: ./mvnw -B --no-transfer-progress clean install -Dmaven.javadoc.skip=true -Drat.skip=true -Dcheckstyle.skip=true -DskipITs -DskipTests -Dspotless.apply.skip=true
- name: Run Example generator
run: echo y | ./mvnw -B test -f examples/shardingsphere-example-generator/pom.xml -Pexample-generator
test-coverage-report:
runs-on: ubuntu-latest
- name: shardingsphere test-coverage report
+ name: shardingsphere test coverage report
steps:
- uses: actions/checkout@v2
- name: Cache Maven Repos