Skip to content

Commit

Permalink
test: add code coverage reporting
Browse files Browse the repository at this point in the history
Add code coverage reporting so that the report is then available
to the PR author and reviewers via codecov GitHub app.

Signed-off-by: Muyassarov, Feruzjon <[email protected]>
  • Loading branch information
fmuyassarov committed Mar 1, 2023
1 parent 163a6dc commit 82b388f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ helm-lint:
helm lint --strict deployment/helm/node-feature-discovery/

test:
$(GO_CMD) test ./cmd/... ./pkg/... ./source/...
$(GO_CMD) test -covermode=atomic -coverprofile=coverage.out ./cmd/... ./pkg/... ./source/...

e2e-test:
@if [ -z ${KUBECONFIG} ]; then echo "[ERR] KUBECONFIG missing, must be defined"; exit 1; fi
Expand Down

0 comments on commit 82b388f

Please sign in to comment.