Skip to content

Commit 3acb7ef

Browse files
committed
chore: run tests with race condition checks and atomic coverage mode
1 parent 99f3e68 commit 3acb7ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ RUN go install github.com/vektra/mockery/[email protected]
6969
RUN make gen-mocks
7070

7171
# Run tests
72-
ENTRYPOINT ["go", "test","-v","./...","-coverpkg=./...","-short" ,"-coverprofile=unit_coverage.out"]
72+
ENTRYPOINT ["go", "test","-v", "-race", "-covermode=atomic", "./...","-coverpkg=./...","-short" ,"-coverprofile=unit_coverage.out"]
7373

7474
FROM --platform=$TARGETPLATFORM alpine AS chargepi
7575

0 commit comments

Comments
 (0)