You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by da...@apache.org on 2022/12/05 10:35:51 UTC

[flink-connector-aws] 04/04: [FLINK-29908] Adding e2e tests CI step

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

dannycranmer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-aws.git

commit df4e3d36017b2abaaaf9479389f220bd604a0307
Author: Danny Cranmer <da...@apache.org>
AuthorDate: Sun Dec 4 22:28:53 2022 +0000

    [FLINK-29908] Adding e2e tests CI step
---
 .github/workflows/ci.yml | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f68d46d..97d9313 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,7 +16,7 @@
 # limitations under the License.
 ################################################################################
 
-name: Build flink-connector-dynamodb
+name: Build flink-connector-aws
 on: [push, pull_request]
 jobs:
   compile_and_test:
@@ -66,14 +66,27 @@ jobs:
         if: steps.cache-flink.outputs.cache-hit != 'true'
         run: wget -q -c ${{ env.FLINK_URL }} -O - | tar -xz
 
-      - name: Compile and test flink-connector-dynamodb
+      - name: Compile and test flink-connector-aws
         run: |
           set -o pipefail
           
           mvn clean install -Dflink.convergence.phase=install -Pcheck-convergence -U -B ${{ env.MVN_CONNECTION_OPTIONS }} \
             -DaltDeploymentRepository=validation_repository::default::file:${{ env.MVN_VALIDATION_DIR }} \
-            -Dflink.version=${{ matrix.flink }} | tee ${{ env.MVN_BUILD_OUTPUT_FILE }} \
+            -Dflink.version=${{ matrix.flink }} | tee ${{ env.MVN_BUILD_OUTPUT_FILE }} 
+
+      - name: Run e2e tests
+        run: |
+          set -o pipefail
+          
+          cd flink-connector-aws-e2e-tests
+          
+          mvn clean verify ${{ env.MVN_CONNECTION_OPTIONS }} \
+            -DaltDeploymentRepository=validation_repository::default::file:${{ env.MVN_VALIDATION_DIR }} \
+            -Dflink.version=${{ matrix.flink }}  \
             -Prun-end-to-end-tests -DdistDir=${{ env.FLINK_CACHE_DIR }}/flink-${{ matrix.flink }} \
+            | tee ${{ env.MVN_BUILD_OUTPUT_FILE }}
+          
+          mvn clean
 
       - name: Check licensing
         run: |