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
1 changed files with 1 additions and 1 deletions

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