fix(docs): correct typo in remaining contract tasks documentation

fix(scripts): enhance test coverage script with verbose output and race detection
This commit is contained in:
GitHub Actions
2025-12-03 13:46:13 +00:00
parent 673a496bfa
commit edeaacbfaa
5 changed files with 5774 additions and 4 deletions
+2 -1
View File
@@ -14,7 +14,8 @@ cd "$BACKEND_DIR"
# exit if certain coverage tooling is unavailable (e.g. covdata) while still
# producing a usable coverage file. Don't fail immediately — allow the script
# to continue and check whether the coverage file exists.
if ! go test -mod=readonly -coverprofile="$COVERAGE_FILE" ./internal/...; then
# Note: Using -v for verbose output and -race for race detection
if ! go test -race -v -mod=readonly -coverprofile="$COVERAGE_FILE" ./...; then
echo "Warning: go test returned non-zero; checking coverage file presence"
fi