add unittest #1
unittest.yml
on: pull_request
build
8s
test
7s
check go modules
5s
Golangci-lint
3m 19s
Shellcheck
6s
test-coverage
1m 35s
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)
|