Skip to content

Commit

Permalink
feat: add -race to test coverage in ci to check for data races
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmcgee committed Sep 29, 2022
1 parent c1237a4 commit 7ce47d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
with:
go-version: 1.19
- name: Run coverage
run: go test -covermode=count -coverprofile=coverage.out -v ./...
run: go test -race -covermode=atomic -coverprofile=coverage.out -v ./...
- name: Convert coverage.out to coverage.lcov
uses: jandelgado/gcov2lcov-action@v1
- name: Coveralls
Expand Down

0 comments on commit 7ce47d0

Please sign in to comment.