Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions pkg/utils/ci_probe_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package utils

import (
"testing"

_ "github.com/evolution-foundation/evolution-go/pkg/config"

Check failure on line 6 in pkg/utils/ci_probe_test.go

View workflow job for this annotation

GitHub Actions / go

no required module provides package github.com/evolution-foundation/evolution-go/pkg/config; to add it:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): The test package imports a module path that does not match the repository's go.mod module path, so go vet ./... fails while loading pkg/utils, and go test ./... fails for the same unresolved import.

Triggers: When CI runs go vet ./... or go test ./....

Suggested fix: Remove this probe after the check is verified, or replace the import with the valid github.com/EvolutionAPI/evolution-go/pkg/config path for a passing test.

Suggested change
_ "github.com/evolution-foundation/evolution-go/pkg/config"
_ "github.com/EvolutionAPI/evolution-go/pkg/config"

)

func TestCIProbe(t *testing.T) {}
Loading