From c9d654325d75508709019c2d7d0e77422dbd1676 Mon Sep 17 00:00:00 2001 From: Patryk Strusiewicz-Surmacki Date: Wed, 6 Nov 2024 12:25:50 +0100 Subject: [PATCH] Fixes for tests Signed-off-by: Patryk Strusiewicz-Surmacki --- .github/workflows/ci.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8d4d71a9..0be9e8dd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,6 +19,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.go-version }} + cache-dependency-path: "**/go.sum" - name: Cache tools id: cache-tools uses: actions/cache@v4 @@ -47,6 +48,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.go-version }} + cache-dependency-path: "**/go.sum" - run: make image - run: make certs - name: Enable docker IPv6 mode @@ -62,7 +64,11 @@ jobs: working-directory: v2/e2e - run: make install-coil working-directory: v2/e2e - - run: make test + - run: make test TEST_IPAM=true TEST_EGRESS=true TEST_IPV6=false + if: matrix.ip-version == 'ipv4' + working-directory: v2/e2e + - run: make test TEST_IPAM=true TEST_EGRESS=true TEST_IPV6=true + if: matrix.ip-version == 'ipv6' working-directory: v2/e2e - run: make logs working-directory: v2/e2e @@ -84,6 +90,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.go-version }} + cache-dependency-path: "**/go.sum" - run: make image - run: make certs - name: Enable docker IPv6 mode