diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4edd3a725..facc3867c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -65,8 +65,7 @@ jobs: runs-on: ubuntu-latest env: NUMBER_OF_COMPUTE_NODES: 5 - NUMBER_OF_THRASH_ITER: 20 - FILL_PERCENT_CAPACITY: 20 + KUBECONFIG: ~/.kube/config steps: - name: Set up Go version uses: actions/setup-go@v1 diff --git a/hack/test-go.sh b/hack/test-go.sh index b5e90ff7e..d92903e94 100755 --- a/hack/test-go.sh +++ b/hack/test-go.sh @@ -5,4 +5,4 @@ set -e -x echo "Linting go code..." golint ./cmd ./pkg echo "Running go tests..." -KUBEBUILDER_ASSETS="$(pwd)/bin" go test -v -covermode=count -coverprofile=coverage.out ./... +KUBEBUILDER_ASSETS="$(pwd)/bin" go test -v -covermode=count -coverprofile=coverage.out $(go list ./... | grep -v e2e | tr "\n" " ")