Skip to content

Commit

Permalink
build(makefile): add commnads to run the unit tests and the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
danvergara committed Apr 14, 2021
1 parent e5f8b5d commit 6cbcbc1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
test:
go test -v -race ./...

.PHONY: unit-test
## unit-test: Runs the tests with the short flag
unit-test:
go test -v -short -race ./...

.PHONY: linter
## linter: Runs the colangci-lint command
linter:
golangci-lint run --enable=golint --enable=godot ./...

.PHONY: test-all
## test-all: Runs the integration testing bash script with different database docker image versions
test-all:
Expand Down

0 comments on commit 6cbcbc1

Please sign in to comment.