From 272e556e26868f8d4d0cc8ae39f1fdf31d7aaf45 Mon Sep 17 00:00:00 2001 From: Michael Gasch Date: Mon, 17 Jan 2022 15:57:28 +0100 Subject: [PATCH] chore: Use tparse in tests Closes: #17 Signed-off-by: Michael Gasch --- .github/workflows/tests.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d02a637..882f158 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -28,6 +28,9 @@ jobs: - name: Check out code uses: actions/checkout@v2 + - name: Install tparse + run: go install github.com/mfridman/tparse@latest + - name: Check for .codecov.yaml id: codecov-enabled uses: andstor/file-existence-action@v1 @@ -40,8 +43,8 @@ jobs: - name: Test env: - GOFLAGS: "-v -race -count=1" - run: go test $COVER_OPTS ./... + GOFLAGS: "-v -race -count=1 -json" + run: go test $COVER_OPTS ./... | tparse -all - name: Verify git clean shell: bash