diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 4293987a5..f01607ab5 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -64,25 +64,50 @@ jobs: run: mvn clean verify -pl bitsail-dist -am -U -DskipUT=false -DskipITCase=true - # This workflow contains a single job called "integration-tests" - integration-tests: - name: Integration Test + # This workflow contains a single job called "unit-test" + unit-test-jdk11: + name: Unit Test JDK11 # The type of runner that the job will run on runs-on: ${{ matrix.os }} strategy: matrix: os: [ ubuntu-latest ] + maven: [ '3.8.2' ] + java: [ '11' ] # Steps represent a sequence of tasks that will be executed as part of the job steps: - - run: git config --global core.longpaths true - - uses: actions/checkout@v3 - - name: Set up JDK 8 - uses: actions/setup-java@v3 - with: - java-version: '8' - distribution: 'adopt' - architecture: x64 +# - run: git config --global core.longpaths true +# - uses: actions/checkout@v3 +# - name: Set up JDK 11 +# uses: actions/setup-java@v3 +# with: +# java-version: '11' +# distribution: 'adopt' +# architecture: x64 - - name: Maven Verify Integration Test + - name: Maven Verify Unit Test run: - mvn clean verify -pl bitsail-dist -am -U -DskipUT=true -DskipITCase=false + mvn clean verify -pl bitsail-dist -am -U -DskipUT=false -DskipITCase=true + + # This workflow contains a single job called "integration-tests" +# integration-tests: +# name: Integration Test +# # The type of runner that the job will run on +# runs-on: ${{ matrix.os }} +# strategy: +# matrix: +# os: [ ubuntu-latest ] +# # Steps represent a sequence of tasks that will be executed as part of the job +# steps: +# - run: git config --global core.longpaths true +# - uses: actions/checkout@v3 +# - name: Set up JDK 8 +# uses: actions/setup-java@v3 +# with: +# java-version: '8' +# distribution: 'adopt' +# architecture: x64 +# +# - name: Maven Verify Integration Test +# run: +# mvn clean verify -pl bitsail-dist -am -U -DskipUT=true -DskipITCase=false diff --git a/website/en/documents/start/env_setup.md b/website/en/documents/start/env_setup.md index dc6d0df86..bc1a30d28 100644 --- a/website/en/documents/start/env_setup.md +++ b/website/en/documents/start/env_setup.md @@ -7,7 +7,7 @@ English | [简体中文](/zh/documents/start/env_setup.md) **Bitsail** supports run integration tests on local IDE. To achieve that, you need: -- JDK1.8 +- JDK1.8 or JDK11 - maven 3.6+ - [Docker desktop](https://www.docker.com/products/docker-desktop/) diff --git a/website/zh/documents/start/env_setup.md b/website/zh/documents/start/env_setup.md index b0d961a2a..8d886048f 100644 --- a/website/zh/documents/start/env_setup.md +++ b/website/zh/documents/start/env_setup.md @@ -8,7 +8,7 @@ **Bitsail**支持在本地IDE运行集成测试,为此需要: -- JDK1.8 +- JDK1.8 或 JDK11 - maven 3.6+ - [Docker desktop](https://www.docker.com/products/docker-desktop/)