From 32936aeb444b1a407268931c1983b40dec794335 Mon Sep 17 00:00:00 2001 From: Roger Johansson Date: Thu, 14 Apr 2022 15:42:24 +0200 Subject: [PATCH] fix test reports --- .github/workflows/checks.yml | 2 +- Makefile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 651b4d46f..6f1ecaf6d 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -32,5 +32,5 @@ jobs: - name: start services run: docker compose up -d - name: run testcases - run: make test + run: make test2 diff --git a/Makefile b/Makefile index cf785ad43..7f57ae88f 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,10 @@ PACKAGES := $(shell go list ./... | grep -v "/_examples/" | grep -v "/persistenc test: @go test $(PACKAGES) -timeout=30s +test2: + @go install gotest.tools/gotestsum@latest + @gotestsum --format testname $(PACKAGES) + test-report: @(go test $(PACKAGES) -timeout=30s -json | go-test-report)