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 3ffa02302de Refactor : make agent test to matrics (#23409)
3ffa02302de is described below

commit 3ffa02302de21876e74f582fe5639a78c1a78460
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Sun Jan 8 22:42:26 2023 +0800

    Refactor : make agent test to matrics (#23409)
---
 .github/workflows/e2e.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 08c60ade46b..0677de504cc 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -198,6 +198,9 @@ jobs:
   mysql-proxy-agent:
     name: Agent with MySQL
     runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        plugin: [ metrics, opentelemetry, zipkin ]
     steps:
       - uses: actions/checkout@v3
       - uses: actions/setup-java@v3
@@ -214,6 +217,5 @@ jobs:
         run: ./mvnw -B clean install -DskipITs -DskipTests
       - name: Run Integration Test
         run: |
-          ./mvnw -B clean install -f test/e2e/agent/plugins/metrics/pom.xml 
-Dspotless.apply.skip=true -Pit.env.metrics
-          ./mvnw -B clean install -f 
test/e2e/agent/plugins/opentelemetry/pom.xml -Dspotless.apply.skip=true 
-Pit.env.opentelemetry
-          ./mvnw -B clean install -f test/e2e/agent/plugins/zipkin/pom.xml 
-Dspotless.apply.skip=true -Pit.env.zipkin
+          ./mvnw -B clean install -f test/e2e/agent/plugins/${{ matrix.plugin 
}}/pom.xml -Dspotless.apply.skip=true -Pit.env.${{ matrix.plugin }}
+

Reply via email to