Skip to content

Commit

Permalink
tests: add testing command
Browse files Browse the repository at this point in the history
Add a unit-test command to the Makefile to help keep
a baseline of testing expectations.

Signed-off-by: crozzy <joseph.crosland@gmail.com>
  • Loading branch information
crozzy authored and ldelossa committed Apr 19, 2021
1 parent 1e92bd2 commit 6e50ec2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,8 @@ docs-build:
mdbook build
rsync --recursive --delete-after --exclude 'v4.*' --exclude .git\
./book/ $(DOCS_DIR)/

# runs unit tests
.PHONY: unit
unit:
go test -race ./...

0 comments on commit 6e50ec2

Please sign in to comment.