Skip to content

Commit

Permalink
Test for race conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorm committed May 6, 2022
1 parent b9c0a49 commit 555be1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
check-latest: true
- name: 'Test'
run: |
make test
make test test-race
test-e2e:
name: 'Test e2e'
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ lint:
test:
'$(GO)' test -v ./...

.PHONY: test-race
test-race:
CGO_ENABLED=1 '$(GO)' test -v -race ./...

.PHONY: test-e2e
test-e2e:
./e2e/run.sh
Expand Down

0 comments on commit 555be1a

Please sign in to comment.