mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
test: add code coverage reporting
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 <feruzjon.muyassarov@intel.com>
This commit is contained in:
parent
163a6dc502
commit
82b388fc3b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue