chore: use gotestfmt

This commit is contained in:
Kevin Franklin Kim 2023-09-07 13:55:00 +02:00
parent 0b046ffd60
commit 0b3228f5e6
No known key found for this signature in database
3 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,6 @@ on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
env:
@ -30,6 +29,9 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- uses: gotesttools/gotestfmt-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: make test
- run: make test.demo

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
# General
.*
._*
*.out
bin/
tmp/
*.log

View File

@ -19,7 +19,7 @@ outdated:
.PHONY: test
## Run tests
test:
@go test -v ./...
@go test -coverprofile=coverage.out -race -json ./... | gotestfmt
.PHONY: test.demo
## Run tests