Skip to content

add gomock for test #46

add gomock for test

add gomock for test #46

Triggered via pull request April 10, 2024 10:50
Status Failure
Total duration 37s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
test: pkg/notifier/gitlab/comment_test.go#L12
[golangci-lint] reported by reviewdog 🐶 Function TestCommentPost missing the call to method parallel Raw Output: pkg/notifier/gitlab/comment_test.go:12:1: error: Function TestCommentPost missing the call to method parallel (paralleltest)
test: pkg/notifier/gitlab/comment_test.go#L106
[golangci-lint] reported by reviewdog 🐶 Function TestCommentList missing the call to method parallel Raw Output: pkg/notifier/gitlab/comment_test.go:106:1: error: Function TestCommentList missing the call to method parallel (paralleltest)
test: pkg/notifier/gitlab/commits_test.go#L11
[golangci-lint] reported by reviewdog 🐶 Function TestCommitsList missing the call to method parallel Raw Output: pkg/notifier/gitlab/commits_test.go:11:1: error: Function TestCommitsList missing the call to method parallel (paralleltest)
test: pkg/notifier/gitlab/notify_test.go#L13
[golangci-lint] reported by reviewdog 🐶 Function name: TestNotifyNotify, Cyclomatic Complexity: 5, Halstead Volume: 7374.30, Maintainability Index: 19 Raw Output: pkg/notifier/gitlab/notify_test.go:13:1: error: Function name: TestNotifyNotify, Cyclomatic Complexity: 5, Halstead Volume: 7374.30, Maintainability Index: 19 (maintidx)
test: pkg/notifier/gitlab/notify_test.go#L267
[golangci-lint] reported by reviewdog 🐶 Range statement for test TestNotifyNotify missing the call to method parallel in test Run Raw Output: pkg/notifier/gitlab/notify_test.go:267:2: error: Range statement for test TestNotifyNotify missing the call to method parallel in test Run (paralleltest)
test
Process completed with exit code 1.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.