1
0
Fork 1
mirror of https://github.com/vbatts/tar-split.git synced 2024-11-15 04:58:36 +00:00

magefile: include benchmark in test

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2023-04-27 14:12:07 -04:00
parent 58175ba396
commit 724d595c03
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED

View file

@ -63,7 +63,7 @@ func Lint() error {
// Run the tests available
func Test() error {
fmt.Println("Testing...")
cmd := exec.Command("go", "test", "-v", "./...")
cmd := exec.Command("go", "test", "-cover", "-v", "-bench", "'.'", "-benchmem", "./...")
cmd.Stdout = Stdout
cmd.Stderr = Stderr
return cmd.Run()