Skip to content

Commit

Permalink
feat(make): use gotestsum for go tests (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfalkowski authored Apr 16, 2024
1 parent b850b19 commit 4b17d37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/make/go.mak
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fix-lint:

# Run specs.
specs:
go test -vet=off -race -mod vendor -failfast -covermode=atomic -coverpkg=./... -coverprofile=test/reports/profile.cov ./...
gotestsum --junitfile test/reports/specs.xml -- -vet=off -race -mod vendor -failfast -covermode=atomic -coverpkg=./... -coverprofile=test/reports/profile.cov ./...

remove-generated-coverage:
cat test/reports/profile.cov | grep -Ev "${COV}" > test/reports/final.cov
Expand Down
2 changes: 1 addition & 1 deletion build/make/service.mak
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ features: build-test

# Run all the specs.
specs:
go test -vet=off -race -mod vendor -failfast -covermode=atomic -coverpkg=./... -coverprofile=test/reports/profile.cov ./...
gotestsum --junitfile test/reports/specs.xml -- -vet=off -race -mod vendor -failfast -covermode=atomic -coverpkg=./... -coverprofile=test/reports/profile.cov ./...

# Get go dep.
go-get:
Expand Down

0 comments on commit 4b17d37

Please sign in to comment.