Skip to content

Commit

Permalink
Use race detector in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmaguire committed Jan 26, 2024
1 parent 82931d1 commit eb14fe1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
run: make bin

- name: Run tests
run: make testv
run: TEST_FLAGS="-race" make testv
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ dev: bin
fmt:
goimports -w .


test:
go test $(TEST_FLAGS) $(shell go list ./...)

Expand Down

0 comments on commit eb14fe1

Please sign in to comment.