Add integration test command
This commit is contained in:
parent
994a59f1f7
commit
6034329db4
|
@ -140,7 +140,7 @@ func runAndStreamOutput(cmd string, args ...string) {
|
|||
}
|
||||
|
||||
if err := c.Wait(); err != nil {
|
||||
fmt.Printf("Error: %s", err)
|
||||
fmt.Printf("Error: %s\n", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
@ -174,7 +174,8 @@ func TestCoverage() {
|
|||
}
|
||||
|
||||
func IntegrationTest() {
|
||||
|
||||
// We run everything sequentially and not in parallel to prevent issues with real test databases
|
||||
runAndStreamOutput("go", "test", Goflags[0], "-p", "1", PACKAGE+"/pkg/integrations")
|
||||
}
|
||||
|
||||
func Lint() {
|
||||
|
|
Loading…
Reference in New Issue