From 3acb7efb1ade0fe5edc2dce4b9c8bc7a60485ed5 Mon Sep 17 00:00:00 2001 From: xBlaz3kx Date: Sun, 7 Dec 2025 12:46:15 +0100 Subject: [PATCH] chore: run tests with race condition checks and atomic coverage mode --- build/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index 5b49b4c..cd721f7 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -69,7 +69,7 @@ RUN go install github.com/vektra/mockery/v3@v3.5.1 RUN make gen-mocks # Run tests -ENTRYPOINT ["go", "test","-v","./...","-coverpkg=./...","-short" ,"-coverprofile=unit_coverage.out"] +ENTRYPOINT ["go", "test","-v", "-race", "-covermode=atomic", "./...","-coverpkg=./...","-short" ,"-coverprofile=unit_coverage.out"] FROM --platform=$TARGETPLATFORM alpine AS chargepi