Skip to content

Commit

Permalink
Updated common makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Nov 17, 2020
1 parent 0d63936 commit 7241dcd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .make/Makefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,17 @@ test-short: ## Runs vet, lint and tests (excludes integration tests)

test-travis: ## Runs all tests via Travis (also exports coverage)
@$(MAKE) lint
@echo "running tests..."
@echo "running tests (travis)..."
@go test ./... -race -coverprofile=coverage.txt -covermode=atomic

test-travis-no-race: ## Runs all tests (no race) (also exports coverage)
@$(MAKE) lint
@echo "running tests (no race)..."
@go test ./... -coverprofile=coverage.txt -covermode=atomic

test-travis-short: ## Runs unit tests via Travis (also exports coverage)
@$(MAKE) lint
@echo "running tests (short)..."
@echo "running tests (short & travis)..."
@go test ./... -test.short -race -coverprofile=coverage.txt -covermode=atomic

uninstall: ## Uninstall the application (and remove files)
Expand Down

0 comments on commit 7241dcd

Please sign in to comment.