Skip to content

Commit

Permalink
Add test coverage report and use race detection in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Oct 7, 2020
1 parent 13430ca commit 54a339d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
steps:
- checkout
- run: make test
- run: bash <(curl -s https://codecov.io/bash)

publish-github-release:
docker:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ release: build/dnaglider-linux build/dnaglider-windows.exe build/dnaglider-osx

.PHONY: test
test: deps
cd dnaglider/pkg ; go test
cd dnaglider/pkg ; go test -race -coverprofile=../../coverage.txt -covermode=atomic

0 comments on commit 54a339d

Please sign in to comment.