Skip to content

tests refactor

tests refactor #89

Triggered via push December 11, 2024 22:02
Status Failure
Total duration 3m 35s
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
Unit tests: internal/controller/vrg_kubeobjects_test.go#L20
expected declaration, found 'package'
Unit tests
Process completed with exit code 2.
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

Artifacts

Produced during runtime
Name Size
ramen-operator Expired
64.8 MB