Skip to content

Commit

Permalink
format junit
Browse files Browse the repository at this point in the history
  • Loading branch information
sjeandeaux committed Nov 21, 2019
1 parent 1446d26 commit e680724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ lint: ## go lint on packages

.PHONY: test
test: clean fmt vet ## test
gotestsum --junitfile target/test-results/unit-tests.xml -- -race --short -cpu=2 -p=2 -coverprofile=target/coverage.txt -covermode=atomic -v $(LDFLAGS) $(PKGGOFILES)
gotestsum --junitfile target/test-results/unit-tests.xml -- --short -cpu=2 -p=2 -coverprofile=target/coverage.txt -covermode=atomic -v $(LDFLAGS) $(PKGGOFILES)

.PHONY: it-test
it-test: clean fmt vet ## integration test
gotestsum --junitfile target/test-results/it-tests.xml -- -race -cpu=2 -p=2 -coverprofile=target/coverage.txt -covermode=atomic -v $(LDFLAGS) $(PKGGOFILES)
gotestsum --junitfile target/test-results/it-tests.xml -- -cpu=2 -p=2 -coverprofile=target/coverage.txt -covermode=atomic -v $(LDFLAGS) $(PKGGOFILES)

cover-html: it-test ## show the coverage in HTML page
go tool cover -html=target/coverage.txt
Expand Down

0 comments on commit e680724

Please sign in to comment.