[WIP] UT coverage improvements #308
common-workflows.yaml
on: pull_request
Golang Validation
/
Lint golang code
1m 54s
Golang Validation
/
Yaml Lint
8s
Quality Checks
/
Unit tests and package coverage
8m 39s
Quality Checks
/
GoSec
2m 17s
Quality Checks
/
Go Formatter and Vetter
2m 4s
Quality Checks
/
Malware Scan
47s
Annotations
12 errors and 1 warning
Golang Validation / Lint golang code:
cmd/cert-csi/main_test.go#L56
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
Golang Validation / Lint golang code:
pkg/cmd/cleanupcmd_test.go#L34
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
|
Golang Validation / Lint golang code:
pkg/helm/client_test.go#L223
unused-parameter: parameter 'ch' seems to be unused, consider removing or renaming it as _ (revive)
|
Golang Validation / Lint golang code:
pkg/k8sclient/core_test.go#L391
lostcancel: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak (govet)
|
Golang Validation / Lint golang code:
pkg/k8sclient/resources/node/node_test.go#L47
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Golang Validation / Lint golang code:
pkg/k8sclient/resources/node/node_test.go#L50
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Golang Validation / Lint golang code:
pkg/k8sclient/resources/node/node_test.go#L53
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Golang Validation / Lint golang code:
pkg/k8sclient/resources/node/node_test.go#L61
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Golang Validation / Lint golang code:
pkg/k8sclient/resources/node/node_test.go#L64
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Golang Validation / Lint golang code:
pkg/k8sclient/resources/node/node_test.go#L67
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Quality Checks / Unit tests and package coverage
No successful run found on the target branch
|
Quality Checks / Unit tests and package coverage
Process completed with exit code 1.
|
Quality Checks / Unit tests and package coverage
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.24.0-321ce7a3ad802aea5d13c99d61eec9a5e3367b2612f9b0814498e0d8a670535f
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
code-coverage
|
22.8 KB |
|