Skip to content

Commit

Permalink
ci: enable data race detector
Browse files Browse the repository at this point in the history
  • Loading branch information
emersion committed Apr 17, 2024
1 parent 262ffd9 commit 55c4101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ artifacts:
tasks:
- build: |
cd go-smtp
go build -v ./...
go build -race -v ./...
- test: |
cd go-smtp
go test -coverprofile=coverage.txt -covermode=atomic ./...
go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- coverage: |
cd go-smtp
go tool cover -html=coverage.txt -o ~/coverage.html

0 comments on commit 55c4101

Please sign in to comment.