Skip to content

Commit

Permalink
add make test
Browse files Browse the repository at this point in the history
  • Loading branch information
loeffel-io committed Jan 21, 2020
1 parent 14e8929 commit 8963dcd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@
/files/*
/mail-downloader
/mail_downloader
/config/*
/config/*
coverage.txt
coverage.out
9 changes: 8 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
linter:
golangci-lint run
golangci-lint run

test-coverage:
go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...

test:
make linter
make test-coverage

0 comments on commit 8963dcd

Please sign in to comment.