Skip to content

Commit

Permalink
add -race to go test
Browse files Browse the repository at this point in the history
  • Loading branch information
phuslu committed Jan 4, 2024
1 parent 208e4e3 commit f1c76d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
go mod edit -replace github.com/phuslu/lru=../
- name: Tests
run: |
go test -v -count=1 -coverprofile=coverage.txt
go test -v -bench=. -race -count=1 -coverprofile=coverage.txt
- name: Benchmark
working-directory: ./bench
run: |
Expand All @@ -34,4 +34,3 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.txt

0 comments on commit f1c76d5

Please sign in to comment.