mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-05 16:27:05 +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/
|
helm lint --strict deployment/helm/node-feature-discovery/
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(GO_CMD) test ./cmd/... ./pkg/... ./source/...
|
$(GO_CMD) test -covermode=atomic -coverprofile=coverage.out ./cmd/... ./pkg/... ./source/...
|
||||||
|
|
||||||
e2e-test:
|
e2e-test:
|
||||||
@if [ -z ${KUBECONFIG} ]; then echo "[ERR] KUBECONFIG missing, must be defined"; exit 1; fi
|
@if [ -z ${KUBECONFIG} ]; then echo "[ERR] KUBECONFIG missing, must be defined"; exit 1; fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue