Skip to content

add unittest

add unittest #1

Triggered via pull request February 4, 2025 17:41
Status Failure
Total duration 3m 29s
Artifacts

unittest.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors
check go modules
Process completed with exit code 2.
Shellcheck
Process completed with exit code 1.
test
Process completed with exit code 2.
build
Process completed with exit code 2.
test-coverage
Lcov file not found.
Golangci-lint: pkg/event/pubsub.go#L32
n.Lock undefined (type *StateNotifier has no field or method Lock) (typecheck)
Golangci-lint: pkg/event/pubsub.go#L33
n.Unlock undefined (type *StateNotifier has no field or method Unlock) (typecheck)
Golangci-lint: pkg/event/pubsub.go#L39
n.Lock undefined (type *StateNotifier has no field or method Lock) (typecheck)
Golangci-lint: pkg/event/pubsub.go#L40
n.Unlock undefined (type *StateNotifier has no field or method Unlock) (typecheck)
Golangci-lint: pkg/event/pubsub.go#L50
n.Lock undefined (type *StateNotifier has no field or method Lock) (typecheck)
Golangci-lint: pkg/event/pubsub.go#L51
n.Unlock undefined (type *StateNotifier has no field or method Unlock) (typecheck)
Golangci-lint: pkg/dpll/dpll.go#L199
dependingProcessStateMap.Lock undefined (type DependingStates has no field or method Lock) (typecheck)
Golangci-lint: pkg/dpll/dpll.go#L200
dependingProcessStateMap.Unlock undefined (type DependingStates has no field or method Unlock) (typecheck)
Golangci-lint: pkg/daemon/daemon.go#L346
cannot infer T (/home/runner/go/pkg/mod/golang.org/[email protected]/src/cmp/cmp.go:40:14) (typecheck)
Golangci-lint: pkg/daemon/metrics.go#L735
m.RLock undefined (type *masterOffsetInterface has no field or method RLock) (typecheck)