From de8d9d874ca2b1f6e09d52e36398b51333915e3d Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Mon, 2 May 2022 15:17:46 +0530 Subject: [PATCH] Add step to create kind cluster for tests in CI --- .github/workflows/go.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c6bba17..6d0818c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -25,12 +25,11 @@ jobs: - name: Format run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi - # Tests need to be fixed. https://github.com/RafayLabs/rcloud-base/issues/46 - # - name: Test all - # run: go test -v ./... + - name: Create k8s Kind Cluster + uses: helm/kind-action@v1.2.0 - - name: Test 'service' package - run: go test -v ./pkg/service + - name: Test all + run: go test -v ./... # golangci: # strategy: