Skip to content

Commit be8331a

Browse files
committed
fix(ci): Remove coverage from Go integration tests
Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
1 parent 05b4c45 commit be8331a

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.github/workflows/test-go.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,3 @@ jobs:
7676
uses: shogo82148/actions-goveralls@v1
7777
with:
7878
path-to-profile: cover.out
79-
working-directory: ${{ env.GOPATH }}/src/github.com/kubeflow/trainer
80-
parallel: true
81-
82-
finish:
83-
needs: test
84-
runs-on: ubuntu-latest
85-
steps:
86-
- uses: shogo82148/actions-goveralls@v1
87-
with:
88-
parallel-finished: true

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,11 @@ endif
152152
# Instructions to run tests.
153153
.PHONY: test
154154
test: ## Run Go unit test.
155-
go test $(shell go list ./... | grep -v '/test/' | grep -v '/cmd/' | grep -v '/hack/' | grep -v '/pkg/apis' | grep -v '/pkg/client') -coverprofile cover.out
155+
go test $(shell go list ./... | grep -Ev '/(test|cmd|hack|pkg/apis|pkg/client|pkg/util/testing)') -coverprofile cover.out
156156

157157
.PHONY: test-integration
158158
test-integration: ginkgo envtest jobset-operator-crd scheduler-plugins-crd ## Run Go integration test.
159-
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(K8S_VERSION) -p path)" $(GINKGO) -coverprofile cover.out -v ./test/integration/...
159+
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(K8S_VERSION) -p path)" $(GINKGO) -v ./test/integration/...
160160

161161
.PHONY: test-python
162162
test-python: ## Run Python unit test.

0 commit comments

Comments
 (0)