Skip to content

Commit

Permalink
chore: Install and use gotestfmt for test output formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
edmarfelipe committed Aug 25, 2024
1 parent 2d8d9d8 commit c9ee6de
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ jobs:
go-version: ${{env.GO_VERSION}}
- name: Test
run: make test

- name: Set up gotestfmt
run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest

- name: Tests
run: |
set -euo pipefail
go test -json -v ./... 2>&1 | tee /tmp/gotest.log | gotestfmt
- name: Archive code coverage results
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit c9ee6de

Please sign in to comment.