From c79bdaf1a84e9a03cee6f01ec1abb3e89a0f4661 Mon Sep 17 00:00:00 2001 From: Ben Garrett Date: Wed, 31 Jan 2024 20:51:29 +1100 Subject: [PATCH] Change test tasks. --- Taskfile.dist.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Taskfile.dist.yaml b/Taskfile.dist.yaml index 3ed104e2..e836c258 100644 --- a/Taskfile.dist.yaml +++ b/Taskfile.dist.yaml @@ -88,7 +88,8 @@ tasks: test: desc: "Run the test suite." cmds: - - set -o pipefail && go test ./... -json | tparse -all + #- set -o pipefail && go test ./... -json | tparse -all + - go test -count 1 ./... nil: desc: "Run the static analysis techniques to catch Nil dereferences." cmds: @@ -96,8 +97,8 @@ tasks: testr: desc: "Run the test suite with the slower race detection." cmds: - - set -o pipefail && go test ./... -json | tparse -all - #- go test -race -v ./... + #- set -o pipefail && go test ./... -json | tparse -all + - go test -count 1 -race ./... serve: desc: "Run the internal web server in development mode with live reload." cmds: