This is an automated email from the ASF dual-hosted git repository.

zhonghongsheng 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 b0c4003  Skip loading image when testing JDBC in IT (#16502)
b0c4003 is described below

commit b0c40034d81f0df0635083c5f59d270e5fd9c42d
Author: 吴伟杰 <[email protected]>
AuthorDate: Wed Mar 30 20:30:47 2022 +0800

    Skip loading image when testing JDBC in IT (#16502)
---
 .github/workflows/it.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/it.yml b/.github/workflows/it.yml
index d1e689f..7eafd04 100644
--- a/.github/workflows/it.yml
+++ b/.github/workflows/it.yml
@@ -93,11 +93,13 @@ jobs:
           distribution: 'temurin'
           java-version: 8
       - name: Download IT image
+        if: matrix.adapter == 'proxy'
         uses: actions/download-artifact@v3
         with:
           name: it-image
           path: /tmp/
       - name: Load IT image
+        if: matrix.adapter == 'proxy'
         run: docker load -i /tmp/shardingsphere-proxy-test.tar
       - name: Run Integration Test
         run: ./mvnw -nsu -B install -f 
shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/pom.xml
 -Dit.run.modes=Cluster -Dit.scenarios=${{ matrix.scenario }} 
-Dit.cluster.adapters=${{ matrix.adapter }} -Dit.cluster.databases=${{ 
matrix.database }} -Dit.cluster.env.type=DOCKER
@@ -126,11 +128,13 @@ jobs:
           distribution: 'temurin'
           java-version: 8
       - name: Download IT image
+        if: matrix.adapter == 'proxy'
         uses: actions/download-artifact@v3
         with:
           name: it-image
           path: /tmp/
       - name: Load IT image
+        if: matrix.adapter == 'proxy'
         run: docker load -i /tmp/shardingsphere-proxy-test.tar
       - name: Run Integration Test
         run: ./mvnw -nsu -B install -f 
shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/pom.xml
 -Dit.run.modes=Cluster -Dit.scenarios=${{ matrix.scenario }} 
-Dit.cluster.adapters=${{ matrix.adapter }} -Dit.culster.databases=${{ 
matrix.database }} -Dit.cluster.env.type=DOCKER
@@ -159,11 +163,13 @@ jobs:
           distribution: 'temurin'
           java-version: 8
       - name: Download IT image
+        if: matrix.adapter == 'proxy'
         uses: actions/download-artifact@v3
         with:
           name: it-image
           path: /tmp/
       - name: Load IT image
+        if: matrix.adapter == 'proxy'
         run: docker load -i /tmp/shardingsphere-proxy-test.tar
       - name: Run Integration Test
         run: ./mvnw -nsu -B install -f 
shardingsphere-test/shardingsphere-integration-test/shardingsphere-integration-test-suite/pom.xml
 -Dit.run.modes=Cluster -Dit.scenarios=${{ matrix.scenario }} 
-Dit.cluster.adapters=${{ matrix.adapter }} -Dit.cluster.databases=${{ 
matrix.database }} -Dit.cluster.env.type=DOCKER

Reply via email to