fix: make test now only runs with -race on amd64

This commit is contained in:
2026-09-06 18:15:51 +02:00
parent 52cc00ebfd
commit f409f02f91
+5 -1
View File
@@ -48,7 +48,11 @@ run: build-api
## test: Run tests with race detector ## test: Run tests with race detector
test: test:
@echo "Running tests..." @echo "Running tests..."
@go test -v -race -timeout 30s ./... @if [ "$$(go env GOARCH)" = "amd64" ]; then \
go test -race -timeout 30s ./...; \
else \
go test -timeout 60s ./...; \
fi
## test-cover: Run tests and generate coverage report ## test-cover: Run tests and generate coverage report
test-cover: test-cover: