From b6b0f5a403558583de998f8dd4254c63789fc9f4 Mon Sep 17 00:00:00 2001 From: zirain Date: Mon, 28 Oct 2024 18:40:11 +0800 Subject: [PATCH] test ipv6 Signed-off-by: zirain --- .github/workflows/build_and_test.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 80992fc9d6de..449498bd7eba 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -114,7 +114,19 @@ jobs: strategy: fail-fast: false matrix: - version: [ v1.28.13, v1.29.8, v1.30.4, v1.31.0 ] + target: + - version: v1.28.13 + ipFamily: ipv4 + - version: v1.29.8 + ipFamily: ipv4 + - version: v1.30.4 + ipFamily: ipv4 + - version: v1.31.0 + ipFamily: ipv4 + - version: v1.31.0 + ipFamily: ipv6 # only run ipv6 test on latest version to save time + - version: v1.31.0 + ipFamily: dual # only run dual test on latest version to save time steps: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - uses: ./tools/github-actions/setup-deps @@ -133,9 +145,9 @@ jobs: # E2E - name: Run E2E Tests env: - KIND_NODE_TAG: ${{ matrix.version }} + KIND_NODE_TAG: ${{ matrix.target.version }} IMAGE_PULL_POLICY: IfNotPresent - run: make e2e + run: IP_FAMILY=${{ matrix.target.ipFamily }} make e2e benchmark-test: runs-on: ubuntu-latest