-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests(integration): add integration tests and test them with a pipeline #34
Conversation
…ted pipeline Signed-off-by: Alessio Greggi <[email protected]>
@ccoVeille I performed several changes to the code base, but finally there's a pipeline to test both unit and integration tests :) |
Co-authored-by: ccoVeille <[email protected]>
Co-authored-by: ccoVeille <[email protected]>
Co-authored-by: ccoVeille <[email protected]>
Co-authored-by: ccoVeille <[email protected]>
Co-authored-by: ccoVeille <[email protected]>
Signed-off-by: Alessio Greggi <[email protected]>
Signed-off-by: Alessio Greggi <[email protected]>
Signed-off-by: Alessio Greggi <[email protected]>
Signed-off-by: Alessio Greggi <[email protected]>
@@ -20,7 +20,7 @@ import ( | |||
"io" | |||
"os" | |||
|
|||
"github.com/alegrey91/harpoon/internal/captor" | |||
"github.com/alegrey91/harpoon/internal/ebpf/probesfacade/captor" | |||
meta "github.com/alegrey91/harpoon/internal/metadata" | |||
"github.com/alegrey91/harpoon/internal/writer" | |||
"github.com/spf13/cobra" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cobra and yaml import should be before the packages of this module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You didn't change this
@@ -19,7 +19,7 @@ import ( | |||
"fmt" | |||
"strings" | |||
|
|||
"github.com/alegrey91/harpoon/internal/captor" | |||
"github.com/alegrey91/harpoon/internal/ebpf/probesfacade/captor" | |||
"github.com/alegrey91/harpoon/internal/writer" | |||
"github.com/spf13/cobra" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cobra should be in a separate block before the packages of the module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think is better open another issue for refactoring all these things
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be a good PR to fix all the errors reported by golangci-lint
that you are going to add
Co-authored-by: ccoVeille <[email protected]>
Co-authored-by: ccoVeille <[email protected]>
Co-authored-by: ccoVeille <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last thing, but why not
Closes #33