mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-17 12:42:16 +01:00
using covermode=atomic for local tests
This commit is contained in:
@@ -8,7 +8,7 @@ gometalinter.v2 --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goim
|
|||||||
# Running tests according to current Gotenberg version.
|
# Running tests according to current Gotenberg version.
|
||||||
if [[ "$VERSION" == "snapshot" ]]; then
|
if [[ "$VERSION" == "snapshot" ]]; then
|
||||||
for d in $(go list ./... | grep -v vendor); do
|
for d in $(go list ./... | grep -v vendor); do
|
||||||
go test -race -cover $d;
|
go test -race -cover -covermode=atomic $d;
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo "" > .ci/coverage.txt;
|
echo "" > .ci/coverage.txt;
|
||||||
|
|||||||
Reference in New Issue
Block a user