Add integration test command

This commit is contained in:
kolaente 2020-08-31 22:17:41 +02:00
parent 994a59f1f7
commit 6034329db4
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 2 deletions

View File

@ -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() {