Skip to content

tests: refactor tests for VRG KubeObject Protection #90

tests: refactor tests for VRG KubeObject Protection

tests: refactor tests for VRG KubeObject Protection #90

Triggered via push December 11, 2024 22:04
Status Failure
Total duration 3m 33s
Artifacts 1

ramen.yaml

on: push
Matrix: Golangci Lint
Matrix: Check artifacts and operator deployment
Publish built image
0s
Publish built image
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Golangci Lint (.): internal/controller/vrg_kubeobjects_test.go#L20
syntax error: non-declaration statement outside function body
Golangci Lint (.): internal/controller/vrg_kubeobjects_test.go#L22
syntax error: imports must appear before other declarations (typecheck)
Golangci Lint (.): internal/controller/vrg_kubeobjects_test.go#L20
expected declaration, found 'package' (typecheck)
Golangci Lint (.): internal/controller/vrg_kubeobjects_test.go#L22
imports must appear before other declarations (typecheck)
Golangci Lint (.): internal/controller/controllers_utils_test.go#L19
could not import github.com/ramendr/ramen/internal/controller (-: # github.com/ramendr/ramen/internal/controller [github.com/ramendr/ramen/internal/controller.test]
Golangci Lint (.): internal/controller/vrg_kubeobjects_test.go#L20
syntax error: non-declaration statement outside function body
Golangci Lint (.): internal/controller/vrg_kubeobjects_test.go#L22
syntax error: imports must appear before other declarations) (typecheck)
Golangci Lint (.)
issues found
Unit tests: internal/controller/vrg_kubeobjects_test.go#L20
expected declaration, found 'package'
Unit tests
Process completed with exit code 2.

Artifacts

Produced during runtime
Name Size
ramen-operator Expired
64.8 MB